survey-creator-core 1.12.2 → 1.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fonts.fontless.css +1 -1
- package/fonts.fontless.min.css +1 -1
- package/i18n/arabic.js +1 -1
- package/i18n/arabic.min.js.LICENSE.txt +1 -1
- package/i18n/bulgarian.js +1 -1
- package/i18n/bulgarian.min.js.LICENSE.txt +1 -1
- package/i18n/croatian.js +1 -1
- package/i18n/croatian.min.js.LICENSE.txt +1 -1
- package/i18n/czech.js +1 -1
- package/i18n/czech.min.js.LICENSE.txt +1 -1
- package/i18n/danish.js +1 -1
- package/i18n/danish.min.js.LICENSE.txt +1 -1
- package/i18n/dutch.js +1 -1
- package/i18n/dutch.min.js.LICENSE.txt +1 -1
- package/i18n/english.js +4 -1
- package/i18n/english.js.map +1 -1
- package/i18n/english.min.js +1 -1
- package/i18n/english.min.js.LICENSE.txt +1 -1
- package/i18n/finnish.js +1 -1
- package/i18n/finnish.min.js.LICENSE.txt +1 -1
- package/i18n/french.js +1 -1
- package/i18n/french.min.js.LICENSE.txt +1 -1
- package/i18n/german.js +1 -1
- package/i18n/german.min.js.LICENSE.txt +1 -1
- package/i18n/hebrew.js +1 -1
- package/i18n/hebrew.min.js.LICENSE.txt +1 -1
- package/i18n/hungarian.js +1 -1
- package/i18n/hungarian.min.js.LICENSE.txt +1 -1
- package/i18n/index.js +1 -1
- package/i18n/index.min.js.LICENSE.txt +1 -1
- package/i18n/indonesian.js +1 -1
- package/i18n/indonesian.min.js.LICENSE.txt +1 -1
- package/i18n/italian.js +1 -1
- package/i18n/italian.min.js.LICENSE.txt +1 -1
- package/i18n/japanese.js +1 -1
- package/i18n/japanese.min.js.LICENSE.txt +1 -1
- package/i18n/korean.js +1 -1
- package/i18n/korean.min.js.LICENSE.txt +1 -1
- package/i18n/malay.js +1 -1
- package/i18n/malay.min.js.LICENSE.txt +1 -1
- package/i18n/mongolian.js +1 -1
- package/i18n/mongolian.min.js.LICENSE.txt +1 -1
- package/i18n/norwegian.js +1 -1
- package/i18n/norwegian.min.js.LICENSE.txt +1 -1
- package/i18n/persian.js +1 -1
- package/i18n/persian.min.js.LICENSE.txt +1 -1
- package/i18n/polish.js +1 -1
- package/i18n/polish.min.js.LICENSE.txt +1 -1
- package/i18n/portuguese.js +1 -1
- package/i18n/portuguese.min.js.LICENSE.txt +1 -1
- package/i18n/romanian.js +1 -1
- package/i18n/romanian.min.js.LICENSE.txt +1 -1
- package/i18n/russian.js +1 -1
- package/i18n/russian.min.js.LICENSE.txt +1 -1
- package/i18n/simplified-chinese.js +1 -1
- package/i18n/simplified-chinese.min.js.LICENSE.txt +1 -1
- package/i18n/slovak.js +1 -1
- package/i18n/slovak.min.js.LICENSE.txt +1 -1
- package/i18n/spanish.js +1 -1
- package/i18n/spanish.min.js.LICENSE.txt +1 -1
- package/i18n/swedish.js +1 -1
- package/i18n/swedish.min.js.LICENSE.txt +1 -1
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js.LICENSE.txt +1 -1
- package/i18n/thai.js +1 -1
- package/i18n/thai.min.js.LICENSE.txt +1 -1
- package/i18n/traditional-chinese.js +1 -1
- package/i18n/traditional-chinese.min.js.LICENSE.txt +1 -1
- package/i18n/turkish.js +1 -1
- package/i18n/turkish.min.js.LICENSE.txt +1 -1
- package/package.json +2 -2
- package/survey-creator-core.css +177 -38
- package/survey-creator-core.fontless.css +176 -37
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +8 -7
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js.LICENSE.txt +1 -1
- package/survey-creator-core.js +372 -220
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +9 -8
- package/survey-creator-core.min.js +1 -1
- package/survey-creator-core.min.js.LICENSE.txt +1 -1
- package/typings/components/question.d.ts +1 -0
- package/typings/components/side-bar/side-bar-header-model.d.ts +11 -0
- package/typings/components/side-bar/side-bar-model.d.ts +3 -6
- package/typings/components/tabs/header-model.d.ts +1 -0
- package/typings/components/tabs/theme-plugin.d.ts +2 -0
- package/typings/editorLocalization.d.ts +3 -0
- package/typings/entries/index.d.ts +1 -0
- package/typings/localization/english.d.ts +3 -0
- package/typings/property-grid/index.d.ts +4 -0
package/survey-creator-core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v1.12.
|
|
2
|
+
* SurveyJS Creator v1.12.3
|
|
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
|
|
@@ -470,6 +470,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
470
470
|
// extracted by mini-css-extract-plugin
|
|
471
471
|
|
|
472
472
|
|
|
473
|
+
/***/ }),
|
|
474
|
+
|
|
475
|
+
/***/ "./src/custom-questions/boolean-switch.scss":
|
|
476
|
+
/*!**************************************************!*\
|
|
477
|
+
!*** ./src/custom-questions/boolean-switch.scss ***!
|
|
478
|
+
\**************************************************/
|
|
479
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
480
|
+
|
|
481
|
+
"use strict";
|
|
482
|
+
__webpack_require__.r(__webpack_exports__);
|
|
483
|
+
// extracted by mini-css-extract-plugin
|
|
484
|
+
|
|
485
|
+
|
|
473
486
|
/***/ }),
|
|
474
487
|
|
|
475
488
|
/***/ "./src/property-grid-theme/property-grid.scss":
|
|
@@ -4389,7 +4402,7 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
|
|
|
4389
4402
|
});
|
|
4390
4403
|
Object.defineProperty(QuestionAdornerViewModel.prototype, "cssCollapsedHiddenHeader", {
|
|
4391
4404
|
get: function () {
|
|
4392
|
-
return this.element.cssHeader + " svc-
|
|
4405
|
+
return this.element.cssHeader + " svc-element__header--hidden";
|
|
4393
4406
|
},
|
|
4394
4407
|
enumerable: false,
|
|
4395
4408
|
configurable: true
|
|
@@ -4519,6 +4532,13 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
|
|
|
4519
4532
|
enumerable: false,
|
|
4520
4533
|
configurable: true
|
|
4521
4534
|
});
|
|
4535
|
+
Object.defineProperty(QuestionAdornerViewModel.prototype, "showHiddenTitle", {
|
|
4536
|
+
get: function () {
|
|
4537
|
+
return !this.element.hasTitle && this.element.isInteractiveDesignElement;
|
|
4538
|
+
},
|
|
4539
|
+
enumerable: false,
|
|
4540
|
+
configurable: true
|
|
4541
|
+
});
|
|
4522
4542
|
Object.defineProperty(QuestionAdornerViewModel.prototype, "placeholderText", {
|
|
4523
4543
|
get: function () {
|
|
4524
4544
|
if (this.surveyElement instanceof survey_core__WEBPACK_IMPORTED_MODULE_1__.QuestionHtmlModel) {
|
|
@@ -5135,6 +5155,68 @@ var RowViewModel = /** @class */ (function (_super) {
|
|
|
5135
5155
|
|
|
5136
5156
|
|
|
5137
5157
|
|
|
5158
|
+
/***/ }),
|
|
5159
|
+
|
|
5160
|
+
/***/ "./src/components/side-bar/side-bar-header-model.ts":
|
|
5161
|
+
/*!**********************************************************!*\
|
|
5162
|
+
!*** ./src/components/side-bar/side-bar-header-model.ts ***!
|
|
5163
|
+
\**********************************************************/
|
|
5164
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
5165
|
+
|
|
5166
|
+
"use strict";
|
|
5167
|
+
__webpack_require__.r(__webpack_exports__);
|
|
5168
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5169
|
+
/* harmony export */ SidebarHeaderModel: () => (/* binding */ SidebarHeaderModel)
|
|
5170
|
+
/* harmony export */ });
|
|
5171
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
5172
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
5173
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_1__);
|
|
5174
|
+
|
|
5175
|
+
|
|
5176
|
+
var SidebarHeaderModel = /** @class */ (function (_super) {
|
|
5177
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(SidebarHeaderModel, _super);
|
|
5178
|
+
function SidebarHeaderModel() {
|
|
5179
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
5180
|
+
_this.toolbar = new survey_core__WEBPACK_IMPORTED_MODULE_1__.AdaptiveActionContainer();
|
|
5181
|
+
return _this;
|
|
5182
|
+
}
|
|
5183
|
+
Object.defineProperty(SidebarHeaderModel.prototype, "component", {
|
|
5184
|
+
get: function () {
|
|
5185
|
+
return this.componentName || "svc-side-bar-default-header";
|
|
5186
|
+
},
|
|
5187
|
+
enumerable: false,
|
|
5188
|
+
configurable: true
|
|
5189
|
+
});
|
|
5190
|
+
Object.defineProperty(SidebarHeaderModel.prototype, "componentModel", {
|
|
5191
|
+
get: function () {
|
|
5192
|
+
return this.componentData || this;
|
|
5193
|
+
},
|
|
5194
|
+
enumerable: false,
|
|
5195
|
+
configurable: true
|
|
5196
|
+
});
|
|
5197
|
+
SidebarHeaderModel.prototype.reset = function () {
|
|
5198
|
+
this.title = "";
|
|
5199
|
+
this.subTitle = "";
|
|
5200
|
+
this.componentName = "";
|
|
5201
|
+
this.componentData = undefined;
|
|
5202
|
+
};
|
|
5203
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
5204
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
5205
|
+
], SidebarHeaderModel.prototype, "title", void 0);
|
|
5206
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
5207
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
5208
|
+
], SidebarHeaderModel.prototype, "subTitle", void 0);
|
|
5209
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
5210
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
5211
|
+
], SidebarHeaderModel.prototype, "componentData", void 0);
|
|
5212
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
5213
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
5214
|
+
], SidebarHeaderModel.prototype, "componentName", void 0);
|
|
5215
|
+
return SidebarHeaderModel;
|
|
5216
|
+
}(survey_core__WEBPACK_IMPORTED_MODULE_1__.Base));
|
|
5217
|
+
|
|
5218
|
+
|
|
5219
|
+
|
|
5138
5220
|
/***/ }),
|
|
5139
5221
|
|
|
5140
5222
|
/***/ "./src/components/side-bar/side-bar-model.ts":
|
|
@@ -5153,8 +5235,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5153
5235
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_1__);
|
|
5154
5236
|
/* harmony import */ var _editorLocalization__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../editorLocalization */ "./src/editorLocalization.ts");
|
|
5155
5237
|
/* harmony import */ var _side_bar_page_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./side-bar-page-model */ "./src/components/side-bar/side-bar-page-model.ts");
|
|
5156
|
-
/* harmony import */ var
|
|
5157
|
-
/* harmony import */ var
|
|
5238
|
+
/* harmony import */ var _side_bar_header_model__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./side-bar-header-model */ "./src/components/side-bar/side-bar-header-model.ts");
|
|
5239
|
+
/* harmony import */ var _utils_resizer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/resizer */ "./src/utils/resizer.ts");
|
|
5240
|
+
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/utils */ "./src/utils/utils.ts");
|
|
5241
|
+
|
|
5158
5242
|
|
|
5159
5243
|
|
|
5160
5244
|
|
|
@@ -5166,7 +5250,7 @@ var SidebarModel = /** @class */ (function (_super) {
|
|
|
5166
5250
|
function SidebarModel(creator) {
|
|
5167
5251
|
var _this = _super.call(this) || this;
|
|
5168
5252
|
_this.creator = creator;
|
|
5169
|
-
_this.
|
|
5253
|
+
_this.header = new _side_bar_header_model__WEBPACK_IMPORTED_MODULE_4__.SidebarHeaderModel();
|
|
5170
5254
|
_this.allowFlyoutMode = true;
|
|
5171
5255
|
_this.visibilityAnimation = new survey_core__WEBPACK_IMPORTED_MODULE_1__.AnimationBoolean(_this.getAnimationOptions(), function (val) {
|
|
5172
5256
|
_this.renderedIsVisible = val;
|
|
@@ -5188,13 +5272,6 @@ var SidebarModel = /** @class */ (function (_super) {
|
|
|
5188
5272
|
_this.createActions();
|
|
5189
5273
|
return _this;
|
|
5190
5274
|
}
|
|
5191
|
-
Object.defineProperty(SidebarModel.prototype, "activePageModel", {
|
|
5192
|
-
get: function () {
|
|
5193
|
-
return this._activePage;
|
|
5194
|
-
},
|
|
5195
|
-
enumerable: false,
|
|
5196
|
-
configurable: true
|
|
5197
|
-
});
|
|
5198
5275
|
SidebarModel.prototype.getAnimationOptions = function () {
|
|
5199
5276
|
var _this = this;
|
|
5200
5277
|
var onBeforeRunAnimation = function (el) {
|
|
@@ -5262,7 +5339,7 @@ var SidebarModel = /** @class */ (function (_super) {
|
|
|
5262
5339
|
locTitleName: "ed.hidePanel",
|
|
5263
5340
|
showTitle: false,
|
|
5264
5341
|
visible: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () {
|
|
5265
|
-
return (0,
|
|
5342
|
+
return (0,_utils_utils__WEBPACK_IMPORTED_MODULE_6__.notShortCircuitAnd)(!(0,_utils_utils__WEBPACK_IMPORTED_MODULE_6__.notShortCircuitAnd)(!_this.creator.allowCollapseSidebar, !_this.flyoutMode), _this.visible, !_this.hideSideBarVisibilityControlActions);
|
|
5266
5343
|
}),
|
|
5267
5344
|
action: function () {
|
|
5268
5345
|
_this.collapseSidebar();
|
|
@@ -5275,7 +5352,7 @@ var SidebarModel = /** @class */ (function (_super) {
|
|
|
5275
5352
|
}
|
|
5276
5353
|
}
|
|
5277
5354
|
});
|
|
5278
|
-
this.toolbar.actions.push(this._collapseAction);
|
|
5355
|
+
this.header.toolbar.actions.push(this._collapseAction);
|
|
5279
5356
|
if (this.creator.allowCollapseSidebar) {
|
|
5280
5357
|
this._expandAction = new survey_core__WEBPACK_IMPORTED_MODULE_1__.Action({
|
|
5281
5358
|
id: "svd-grid-expand",
|
|
@@ -5291,7 +5368,7 @@ var SidebarModel = /** @class */ (function (_super) {
|
|
|
5291
5368
|
},
|
|
5292
5369
|
locTitleName: "ed.showPanel",
|
|
5293
5370
|
visible: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () {
|
|
5294
|
-
return (0,
|
|
5371
|
+
return (0,_utils_utils__WEBPACK_IMPORTED_MODULE_6__.notShortCircuitAnd)(_this.hasVisiblePages, !_this.visible, !_this.hideSideBarVisibilityControlActions);
|
|
5295
5372
|
}),
|
|
5296
5373
|
showTitle: false
|
|
5297
5374
|
});
|
|
@@ -5307,7 +5384,7 @@ var SidebarModel = /** @class */ (function (_super) {
|
|
|
5307
5384
|
this.pages.forEach(function (page) { return page.visible = false; });
|
|
5308
5385
|
this._activePage = newPage;
|
|
5309
5386
|
if (this._activePage) {
|
|
5310
|
-
this.
|
|
5387
|
+
this.header.title = this._activePage.caption;
|
|
5311
5388
|
this._activePage.visible = true;
|
|
5312
5389
|
}
|
|
5313
5390
|
};
|
|
@@ -5325,7 +5402,7 @@ var SidebarModel = /** @class */ (function (_super) {
|
|
|
5325
5402
|
var page = new _side_bar_page_model__WEBPACK_IMPORTED_MODULE_3__.SidebarPageModel(id, this, componentName, model);
|
|
5326
5403
|
this.pages.push(page);
|
|
5327
5404
|
if (!!buildActions) {
|
|
5328
|
-
(buildActions() || []).forEach(function (action) { return _this.toolbar.actions.push(action); });
|
|
5405
|
+
(buildActions() || []).forEach(function (action) { return _this.header.toolbar.actions.push(action); });
|
|
5329
5406
|
}
|
|
5330
5407
|
return page;
|
|
5331
5408
|
};
|
|
@@ -5343,7 +5420,7 @@ var SidebarModel = /** @class */ (function (_super) {
|
|
|
5343
5420
|
};
|
|
5344
5421
|
SidebarModel.prototype.initResizeManager = function (container) {
|
|
5345
5422
|
var _a;
|
|
5346
|
-
this.resizeManager = new
|
|
5423
|
+
this.resizeManager = new _utils_resizer__WEBPACK_IMPORTED_MODULE_5__.ResizeManager(container, this.getCurrentHandles());
|
|
5347
5424
|
this.rootElement = (_a = container === null || container === void 0 ? void 0 : container.parentElement) === null || _a === void 0 ? void 0 : _a.parentElement;
|
|
5348
5425
|
};
|
|
5349
5426
|
SidebarModel.prototype.resetResizeManager = function () {
|
|
@@ -5356,9 +5433,6 @@ var SidebarModel = /** @class */ (function (_super) {
|
|
|
5356
5433
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
5357
5434
|
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.propertyArray)()
|
|
5358
5435
|
], SidebarModel.prototype, "pages", void 0);
|
|
5359
|
-
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
5360
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
5361
|
-
], SidebarModel.prototype, "headerText", void 0);
|
|
5362
5436
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
5363
5437
|
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)({ defaultValue: true })
|
|
5364
5438
|
], SidebarModel.prototype, "_visible", void 0);
|
|
@@ -5393,12 +5467,6 @@ var SidebarModel = /** @class */ (function (_super) {
|
|
|
5393
5467
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
5394
5468
|
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
5395
5469
|
], SidebarModel.prototype, "sideAreaComponentData", void 0);
|
|
5396
|
-
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
5397
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
5398
|
-
], SidebarModel.prototype, "headerComponentName", void 0);
|
|
5399
|
-
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
5400
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
5401
|
-
], SidebarModel.prototype, "headerComponentData", void 0);
|
|
5402
5470
|
return SidebarModel;
|
|
5403
5471
|
}(survey_core__WEBPACK_IMPORTED_MODULE_1__.Base));
|
|
5404
5472
|
|
|
@@ -5433,11 +5501,7 @@ var SidebarPageModel = /** @class */ (function (_super) {
|
|
|
5433
5501
|
return _this;
|
|
5434
5502
|
}
|
|
5435
5503
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
5436
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)(
|
|
5437
|
-
onSet: function (newVal, target) {
|
|
5438
|
-
target.sidePanel.headerText = target.caption;
|
|
5439
|
-
}
|
|
5440
|
-
})
|
|
5504
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
5441
5505
|
], SidebarPageModel.prototype, "caption", void 0);
|
|
5442
5506
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
5443
5507
|
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)({
|
|
@@ -6820,16 +6884,16 @@ var TabDesignerPlugin = /** @class */ (function () {
|
|
|
6820
6884
|
};
|
|
6821
6885
|
TabDesignerPlugin.prototype.updateHeaderComponent = function () {
|
|
6822
6886
|
if (this.showOneCategoryInPropertyGrid && this.activePageIsPropertyGrid) {
|
|
6823
|
-
this.creator.sidebar.
|
|
6824
|
-
this.creator.sidebar.
|
|
6887
|
+
this.creator.sidebar.header.componentName = "svc-side-bar-property-grid-header";
|
|
6888
|
+
this.creator.sidebar.header.componentData = this.propertyGridViewModel.objectSelectionAction;
|
|
6825
6889
|
}
|
|
6826
6890
|
else if (this.showOneCategoryInPropertyGrid && this.creator.sidebar.activePage === this.propertyGridPlaceholderPage.id) {
|
|
6827
|
-
this.creator.sidebar.
|
|
6828
|
-
this.creator.sidebar.
|
|
6891
|
+
this.creator.sidebar.header.componentName = "svc-side-bar-header";
|
|
6892
|
+
this.creator.sidebar.header.componentData = this.creator.sidebar.header;
|
|
6829
6893
|
}
|
|
6830
6894
|
else {
|
|
6831
|
-
this.creator.sidebar.
|
|
6832
|
-
this.creator.sidebar.
|
|
6895
|
+
this.creator.sidebar.header.componentName = "";
|
|
6896
|
+
this.creator.sidebar.header.componentData = undefined;
|
|
6833
6897
|
}
|
|
6834
6898
|
};
|
|
6835
6899
|
TabDesignerPlugin.prototype.updateActivePage = function () {
|
|
@@ -6913,8 +6977,7 @@ var TabDesignerPlugin = /** @class */ (function () {
|
|
|
6913
6977
|
this.creator.sidebar.hideSideBarVisibilityControlActions = false;
|
|
6914
6978
|
this.creator.sidebar.sideAreaComponentName = undefined;
|
|
6915
6979
|
this.creator.sidebar.sideAreaComponentData = undefined;
|
|
6916
|
-
this.creator.sidebar.
|
|
6917
|
-
this.creator.sidebar.headerComponentData = undefined;
|
|
6980
|
+
this.creator.sidebar.header.reset();
|
|
6918
6981
|
return true;
|
|
6919
6982
|
};
|
|
6920
6983
|
TabDesignerPlugin.prototype.onDesignerSurveyPropertyChanged = function (obj, propName) {
|
|
@@ -7551,6 +7614,18 @@ survey_core__WEBPACK_IMPORTED_MODULE_1__.Serializer.addClass("header", [
|
|
|
7551
7614
|
}
|
|
7552
7615
|
}
|
|
7553
7616
|
},
|
|
7617
|
+
{
|
|
7618
|
+
type: "spinedit",
|
|
7619
|
+
name: "mobileHeight",
|
|
7620
|
+
visibleIf: function (obj) { return obj.headerView === "advanced"; },
|
|
7621
|
+
default: 0,
|
|
7622
|
+
onPropertyEditorUpdate: function (obj, editor) {
|
|
7623
|
+
if (!!editor) {
|
|
7624
|
+
editor.unit = "px";
|
|
7625
|
+
editor.min = 0;
|
|
7626
|
+
}
|
|
7627
|
+
}
|
|
7628
|
+
},
|
|
7554
7629
|
{
|
|
7555
7630
|
type: "buttongroup",
|
|
7556
7631
|
name: "inheritWidthFrom",
|
|
@@ -13549,6 +13624,7 @@ var themeModelProperties = {
|
|
|
13549
13624
|
{ name: "fontSize", tab: "appearancefont" },
|
|
13550
13625
|
{ name: "scale", tab: "appearanceother" },
|
|
13551
13626
|
{ name: "cornerRadius", tab: "appearanceother" },
|
|
13627
|
+
{ name: "advancedMode", tab: "appearanceadvancedmode" },
|
|
13552
13628
|
{ name: "pageTitle", tab: "appearancepage" },
|
|
13553
13629
|
{ name: "pageDescription", tab: "appearancepage" },
|
|
13554
13630
|
{ name: "questionPanel", tab: "appearancequestion" },
|
|
@@ -13568,6 +13644,7 @@ var themeModelProperties = {
|
|
|
13568
13644
|
{ name: "appearancecolor", parent: "appearance", index: 100 },
|
|
13569
13645
|
{ name: "appearancefont", parent: "appearance", index: 200 },
|
|
13570
13646
|
{ name: "appearanceother", parent: "appearance", index: 300 },
|
|
13647
|
+
{ name: "appearanceadvancedmode", parent: "appearance", index: 350 },
|
|
13571
13648
|
{ name: "appearanceprimarycolor", parent: "appearance", index: 400 },
|
|
13572
13649
|
{ name: "appearancepage", parent: "appearance", index: 500 },
|
|
13573
13650
|
{ name: "appearancequestion", parent: "appearance", index: 600 },
|
|
@@ -13582,6 +13659,7 @@ var themeModelProperties = {
|
|
|
13582
13659
|
{ name: "surveyTitle" },
|
|
13583
13660
|
{ name: "surveyDescription" },
|
|
13584
13661
|
{ name: "height", tab: "layout" },
|
|
13662
|
+
{ name: "mobileHeight", tab: "layout" },
|
|
13585
13663
|
{ name: "inheritWidthFrom", tab: "layout" },
|
|
13586
13664
|
{ name: "textAreaWidth", tab: "layout" },
|
|
13587
13665
|
{ name: "backgroundColorSwitch", tab: "background" },
|
|
@@ -14263,8 +14341,18 @@ survey_core__WEBPACK_IMPORTED_MODULE_1__.Serializer.addClass("theme", [
|
|
|
14263
14341
|
editor.min = 0;
|
|
14264
14342
|
}
|
|
14265
14343
|
}
|
|
14266
|
-
},
|
|
14267
|
-
|
|
14344
|
+
}, {
|
|
14345
|
+
name: "advancedMode",
|
|
14346
|
+
type: "switchToggle",
|
|
14347
|
+
isSerializable: false,
|
|
14348
|
+
default: false,
|
|
14349
|
+
onPropertyEditorUpdate: function (obj, editor) {
|
|
14350
|
+
if (!!editor) {
|
|
14351
|
+
editor.titleLocation = "hidden";
|
|
14352
|
+
editor.renderAs = "switch";
|
|
14353
|
+
}
|
|
14354
|
+
}
|
|
14355
|
+
}, {
|
|
14268
14356
|
type: "spinedit",
|
|
14269
14357
|
isSerializable: false,
|
|
14270
14358
|
name: "fontSize",
|
|
@@ -14634,24 +14722,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14634
14722
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14635
14723
|
/* harmony export */ ThemeTabPlugin: () => (/* binding */ ThemeTabPlugin)
|
|
14636
14724
|
/* harmony export */ });
|
|
14637
|
-
/* harmony import */ var
|
|
14638
|
-
/* harmony import */ var
|
|
14639
|
-
/* harmony import */ var
|
|
14640
|
-
/* harmony import */ var
|
|
14641
|
-
/* harmony import */ var
|
|
14642
|
-
/* harmony import */ var
|
|
14643
|
-
/* harmony import */ var
|
|
14644
|
-
/* harmony import */ var
|
|
14645
|
-
/* harmony import */ var
|
|
14646
|
-
/* harmony import */ var
|
|
14647
|
-
/* harmony import */ var
|
|
14648
|
-
/* harmony import */ var
|
|
14649
|
-
/* harmony import */ var
|
|
14650
|
-
/* harmony import */ var
|
|
14651
|
-
/* harmony import */ var
|
|
14652
|
-
/* harmony import */ var
|
|
14653
|
-
/* harmony import */ var _utils_actions__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../utils/actions */ "./src/utils/actions.ts");
|
|
14654
|
-
|
|
14725
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
14726
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_0__);
|
|
14727
|
+
/* harmony import */ var _creator_settings__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../creator-settings */ "./src/creator-settings.ts");
|
|
14728
|
+
/* harmony import */ var _editorLocalization__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../editorLocalization */ "./src/editorLocalization.ts");
|
|
14729
|
+
/* harmony import */ var _theme_builder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./theme-builder */ "./src/components/tabs/theme-builder.ts");
|
|
14730
|
+
/* harmony import */ var _themes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./themes */ "./src/components/tabs/themes.ts");
|
|
14731
|
+
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/utils */ "./src/utils/utils.ts");
|
|
14732
|
+
/* harmony import */ var _property_grid__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../property-grid */ "./src/property-grid/index.ts");
|
|
14733
|
+
/* harmony import */ var _property_grid_property_grid_view_model__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../property-grid/property-grid-view-model */ "./src/property-grid/property-grid-view-model.ts");
|
|
14734
|
+
/* harmony import */ var _theme_model__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./theme-model */ "./src/components/tabs/theme-model.ts");
|
|
14735
|
+
/* harmony import */ var _switcher_switcher__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../switcher/switcher */ "./src/components/switcher/switcher.ts");
|
|
14736
|
+
/* harmony import */ var _theme_model_definition__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./theme-model-definition */ "./src/components/tabs/theme-model-definition.ts");
|
|
14737
|
+
/* harmony import */ var _property_grid_theme_property_grid__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../property-grid-theme/property-grid */ "./src/property-grid-theme/property-grid.ts");
|
|
14738
|
+
/* harmony import */ var _side_bar_tab_control_model__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../side-bar/tab-control-model */ "./src/components/side-bar/tab-control-model.ts");
|
|
14739
|
+
/* harmony import */ var _property_grid_icons__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../property-grid/icons */ "./src/property-grid/icons.ts");
|
|
14740
|
+
/* harmony import */ var _utils_actions__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../utils/actions */ "./src/utils/actions.ts");
|
|
14655
14741
|
|
|
14656
14742
|
|
|
14657
14743
|
|
|
@@ -14690,15 +14776,16 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
14690
14776
|
var _this = this;
|
|
14691
14777
|
this.creator = creator;
|
|
14692
14778
|
this.allowModifyTheme = true;
|
|
14693
|
-
this.simulatorCssClasses =
|
|
14694
|
-
this._availableThemes = [].concat(
|
|
14779
|
+
this.simulatorCssClasses = survey_core__WEBPACK_IMPORTED_MODULE_0__.surveyCss[survey_core__WEBPACK_IMPORTED_MODULE_0__.defaultV2ThemeName];
|
|
14780
|
+
this._availableThemes = [].concat(_themes__WEBPACK_IMPORTED_MODULE_4__.PredefinedThemes);
|
|
14695
14781
|
this._showOneCategoryInPropertyGrid = false;
|
|
14782
|
+
this._advancedModeValue = false;
|
|
14696
14783
|
this.creatorPropertyChanged = function (sender, options) {
|
|
14697
14784
|
if (options.name === "isMobileView") {
|
|
14698
14785
|
_this.updateVisibilityOfPropertyGridGroups();
|
|
14699
14786
|
}
|
|
14700
14787
|
};
|
|
14701
|
-
this.saveToFileHandler =
|
|
14788
|
+
this.saveToFileHandler = _utils_utils__WEBPACK_IMPORTED_MODULE_5__.saveToFileHandler;
|
|
14702
14789
|
this.autoSaveTimerId = null;
|
|
14703
14790
|
/**
|
|
14704
14791
|
* An event that is raised when users select a UI theme from a drop-down list, choose a dark or light color palette, and switch between regular and panelless theme modifications.
|
|
@@ -14713,7 +14800,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
14713
14800
|
* @see addTheme
|
|
14714
14801
|
* @see removeTheme
|
|
14715
14802
|
*/
|
|
14716
|
-
this.onThemeSelected = new
|
|
14803
|
+
this.onThemeSelected = new survey_core__WEBPACK_IMPORTED_MODULE_0__.EventBase();
|
|
14717
14804
|
/**
|
|
14718
14805
|
* An event that is raised when the value of a property or CSS variable in a theme JSON schema has changed.
|
|
14719
14806
|
*
|
|
@@ -14726,7 +14813,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
14726
14813
|
* - `options.value`: `any`\
|
|
14727
14814
|
* A new value of the property or CSS variable.
|
|
14728
14815
|
*/
|
|
14729
|
-
this.onThemePropertyChanged = new
|
|
14816
|
+
this.onThemePropertyChanged = new survey_core__WEBPACK_IMPORTED_MODULE_0__.EventBase();
|
|
14730
14817
|
/**
|
|
14731
14818
|
* An event that you can use to switch the current theme to read-only mode.
|
|
14732
14819
|
*
|
|
@@ -14739,17 +14826,17 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
14739
14826
|
* - `options.allow`: `boolean`\
|
|
14740
14827
|
* A Boolean property that you can set to `false` if you want to disallow theme modifications.
|
|
14741
14828
|
*/
|
|
14742
|
-
this.onAllowModifyTheme = new
|
|
14829
|
+
this.onAllowModifyTheme = new survey_core__WEBPACK_IMPORTED_MODULE_0__.EventBase();
|
|
14743
14830
|
creator.addPluginTab("theme", this);
|
|
14744
|
-
this.simulatorCssClasses =
|
|
14745
|
-
this.tabControlModel = new
|
|
14831
|
+
this.simulatorCssClasses = survey_core__WEBPACK_IMPORTED_MODULE_0__.surveyCss[survey_core__WEBPACK_IMPORTED_MODULE_0__.defaultV2ThemeName];
|
|
14832
|
+
this.tabControlModel = new _side_bar_tab_control_model__WEBPACK_IMPORTED_MODULE_12__.TabControlModel(this.creator.sidebar);
|
|
14746
14833
|
this.createActions().forEach(function (action) { return creator.toolbar.actions.push(action); });
|
|
14747
|
-
this.propertyGrid = new
|
|
14834
|
+
this.propertyGrid = new _property_grid__WEBPACK_IMPORTED_MODULE_6__.PropertyGridModel(undefined, creator, _theme_model_definition__WEBPACK_IMPORTED_MODULE_10__.themeModelPropertyGridDefinition);
|
|
14748
14835
|
this.propertyGrid.surveyInstanceCreatedArea = "theme-tab:property-grid";
|
|
14749
|
-
var propertyGridViewModel = new
|
|
14836
|
+
var propertyGridViewModel = new _property_grid_property_grid_view_model__WEBPACK_IMPORTED_MODULE_7__.PropertyGridViewModel(this.propertyGrid, creator);
|
|
14750
14837
|
this.propertyGridTab = this.creator.sidebar.addPage("theme", "svc-property-grid", propertyGridViewModel);
|
|
14751
|
-
this.propertyGridTab.caption =
|
|
14752
|
-
this.themeModel = new
|
|
14838
|
+
this.propertyGridTab.caption = _editorLocalization__WEBPACK_IMPORTED_MODULE_2__.editorLocalization.getString("ed.themePropertyGridTitle");
|
|
14839
|
+
this.themeModel = new _theme_model__WEBPACK_IMPORTED_MODULE_8__.ThemeModel();
|
|
14753
14840
|
creator.registerShortcut("undo_theme", {
|
|
14754
14841
|
name: "undo",
|
|
14755
14842
|
affectedTab: "theme",
|
|
@@ -14784,6 +14871,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
14784
14871
|
if (this._showOneCategoryInPropertyGrid !== newValue) {
|
|
14785
14872
|
this._showOneCategoryInPropertyGrid = newValue;
|
|
14786
14873
|
this.creator.sidebar.hideSideBarVisibilityControlActions = newValue;
|
|
14874
|
+
this.updateAdvancedModeQuestion();
|
|
14787
14875
|
this.propertyGrid.showOneCategoryInPropertyGrid = newValue;
|
|
14788
14876
|
this.propertyGrid["setObj"](this.creator.selectedElement);
|
|
14789
14877
|
if (this.creator.activeTab === "theme") {
|
|
@@ -14794,35 +14882,44 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
14794
14882
|
enumerable: false,
|
|
14795
14883
|
configurable: true
|
|
14796
14884
|
});
|
|
14885
|
+
ThemeTabPlugin.prototype.updateAdvancedModeQuestion = function () {
|
|
14886
|
+
var advancedModeQuestion = this.propertyGrid.survey.getQuestionByName("advancedMode");
|
|
14887
|
+
if (advancedModeQuestion) {
|
|
14888
|
+
advancedModeQuestion.visible = this.showOneCategoryInPropertyGrid;
|
|
14889
|
+
advancedModeQuestion.value = this._advancedModeValue;
|
|
14890
|
+
}
|
|
14891
|
+
};
|
|
14797
14892
|
ThemeTabPlugin.prototype.createVisibleUpdater = function () {
|
|
14798
14893
|
var _this = this;
|
|
14799
|
-
return new
|
|
14894
|
+
return new survey_core__WEBPACK_IMPORTED_MODULE_0__.ComputedUpdater(function () { return _this.creator.activeTab === "theme"; });
|
|
14800
14895
|
};
|
|
14801
14896
|
ThemeTabPlugin.prototype.createAppearanceAdvancedModeAction = function () {
|
|
14802
14897
|
var _this = this;
|
|
14803
|
-
var advancedMode = new
|
|
14898
|
+
var advancedMode = new _switcher_switcher__WEBPACK_IMPORTED_MODULE_9__.Switcher({
|
|
14804
14899
|
id: "advancedMode",
|
|
14805
14900
|
component: "svc-switcher",
|
|
14806
14901
|
ariaRole: "checkbox",
|
|
14807
14902
|
css: "sv-theme-group_title-action",
|
|
14808
|
-
title: (0,
|
|
14903
|
+
title: (0,_editorLocalization__WEBPACK_IMPORTED_MODULE_2__.getLocString)("theme.advancedMode"),
|
|
14809
14904
|
visible: !this.creator.isMobileView,
|
|
14810
14905
|
action: function () {
|
|
14811
14906
|
advancedMode.checked = !advancedMode.checked;
|
|
14812
|
-
_this.propertyGrid.survey.
|
|
14907
|
+
if (!!_this.propertyGrid.survey.getQuestionByName("advancedMode")) {
|
|
14908
|
+
_this.propertyGrid.survey.getQuestionByName("advancedMode").value = advancedMode.checked;
|
|
14909
|
+
}
|
|
14813
14910
|
}
|
|
14814
14911
|
});
|
|
14815
|
-
advancedMode.checked =
|
|
14912
|
+
advancedMode.checked = this._advancedModeValue;
|
|
14816
14913
|
this.advancedModeSwitcher = advancedMode;
|
|
14817
14914
|
};
|
|
14818
14915
|
ThemeTabPlugin.prototype.addSubGroupTitle = function (panel, titleId) {
|
|
14819
14916
|
if (!!panel.getQuestionByName(titleId))
|
|
14820
14917
|
return;
|
|
14821
|
-
var question =
|
|
14918
|
+
var question = survey_core__WEBPACK_IMPORTED_MODULE_0__.Serializer.createClass("html");
|
|
14822
14919
|
question.fromJSON({
|
|
14823
14920
|
name: titleId,
|
|
14824
|
-
visibleIf: "{
|
|
14825
|
-
html: "<div class='spg-theme-group-caption'>".concat((0,
|
|
14921
|
+
visibleIf: "{advancedMode} = true",
|
|
14922
|
+
html: "<div class='spg-theme-group-caption'>".concat((0,_editorLocalization__WEBPACK_IMPORTED_MODULE_2__.getLocString)(titleId), "</div>")
|
|
14826
14923
|
});
|
|
14827
14924
|
panel.addElement(question);
|
|
14828
14925
|
};
|
|
@@ -14855,8 +14952,8 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
14855
14952
|
};
|
|
14856
14953
|
ThemeTabPlugin.prototype.getPredefinedColorsItemValues = function () {
|
|
14857
14954
|
var _this = this;
|
|
14858
|
-
return Object.keys(
|
|
14859
|
-
return new
|
|
14955
|
+
return Object.keys(_themes__WEBPACK_IMPORTED_MODULE_4__.PredefinedColors[this.themeModel.colorPalette]).map(function (colorName) {
|
|
14956
|
+
return new survey_core__WEBPACK_IMPORTED_MODULE_0__.ItemValue(_themes__WEBPACK_IMPORTED_MODULE_4__.PredefinedColors[_this.themeModel.colorPalette][colorName], (0,_editorLocalization__WEBPACK_IMPORTED_MODULE_2__.getLocString)("theme.colors." + colorName));
|
|
14860
14957
|
});
|
|
14861
14958
|
};
|
|
14862
14959
|
ThemeTabPlugin.prototype.updatePropertyGridColorEditorWithPredefinedColors = function () {
|
|
@@ -14914,7 +15011,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
14914
15011
|
ThemeTabPlugin.prototype.setVisibleIf = function (panelName, visibilityValue) {
|
|
14915
15012
|
var panel = this.propertyGrid.survey.getPanelByName(panelName);
|
|
14916
15013
|
if (!!panel) {
|
|
14917
|
-
panel.visibleIf = "{
|
|
15014
|
+
panel.visibleIf = "{advancedMode} = ".concat(visibilityValue);
|
|
14918
15015
|
}
|
|
14919
15016
|
};
|
|
14920
15017
|
ThemeTabPlugin.prototype.updateTabControl = function () {
|
|
@@ -14922,20 +15019,19 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
14922
15019
|
this.updateTabControlActions();
|
|
14923
15020
|
this.creator.sidebar.sideAreaComponentName = "svc-tab-control";
|
|
14924
15021
|
this.creator.sidebar.sideAreaComponentData = this.tabControlModel;
|
|
14925
|
-
this.creator.sidebar.
|
|
14926
|
-
this.creator.sidebar.
|
|
15022
|
+
this.creator.sidebar.header.componentName = "svc-side-bar-header";
|
|
15023
|
+
this.creator.sidebar.header.componentData = this.creator.sidebar.header;
|
|
14927
15024
|
}
|
|
14928
15025
|
else {
|
|
14929
15026
|
this.creator.sidebar.sideAreaComponentName = "";
|
|
14930
15027
|
this.creator.sidebar.sideAreaComponentData = undefined;
|
|
14931
|
-
this.creator.sidebar.
|
|
14932
|
-
this.creator.sidebar.
|
|
15028
|
+
this.creator.sidebar.header.componentName = "";
|
|
15029
|
+
this.creator.sidebar.header.componentData = undefined;
|
|
14933
15030
|
}
|
|
14934
15031
|
};
|
|
14935
15032
|
ThemeTabPlugin.prototype.activate = function () {
|
|
14936
15033
|
var _this = this;
|
|
14937
|
-
|
|
14938
|
-
this.model = new _theme_builder__WEBPACK_IMPORTED_MODULE_4__.ThemeTabViewModel(this.creator, this.simulatorCssClasses);
|
|
15034
|
+
this.model = new _theme_builder__WEBPACK_IMPORTED_MODULE_3__.ThemeTabViewModel(this.creator, this.simulatorCssClasses);
|
|
14939
15035
|
this.themeModel.initialize(this.creator.theme, this.creator.survey);
|
|
14940
15036
|
this.creator.sidebar.hideSideBarVisibilityControlActions = this.showOneCategoryInPropertyGrid;
|
|
14941
15037
|
this.update();
|
|
@@ -14945,8 +15041,8 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
14945
15041
|
this.propertyGrid.survey.getAllQuestions().forEach(function (q) { return q.readOnly = false; });
|
|
14946
15042
|
this.onAvailableThemesChanged(this.availableThemes);
|
|
14947
15043
|
this.updateAllowModifyTheme();
|
|
14948
|
-
this.
|
|
14949
|
-
var themeBuilderCss = (
|
|
15044
|
+
this.updateAdvancedModeQuestion();
|
|
15045
|
+
var themeBuilderCss = JSON.parse(JSON.stringify(_property_grid_theme_property_grid__WEBPACK_IMPORTED_MODULE_11__.propertyGridCss));
|
|
14950
15046
|
themeBuilderCss.root += " spg-theme-builder-root";
|
|
14951
15047
|
if (this.showOneCategoryInPropertyGrid) {
|
|
14952
15048
|
themeBuilderCss.root += " spg-root--one-category";
|
|
@@ -14963,7 +15059,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
14963
15059
|
this.propertyGrid.survey.onOpenFileChooser.add(function (_, options) {
|
|
14964
15060
|
var _a, _b;
|
|
14965
15061
|
var context = {};
|
|
14966
|
-
(0,
|
|
15062
|
+
(0,_utils_utils__WEBPACK_IMPORTED_MODULE_5__.assign)(context, options.context, { element: _this.themeModel, elementType: "theme" });
|
|
14967
15063
|
if (options.element) {
|
|
14968
15064
|
var question = options.element;
|
|
14969
15065
|
context.propertyName = question.name;
|
|
@@ -14975,7 +15071,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
14975
15071
|
_this.creator.chooseFiles(options.input, options.callback, context);
|
|
14976
15072
|
});
|
|
14977
15073
|
this.propertyGrid.survey.onUpdatePanelCssClasses.add(function (sender, options) {
|
|
14978
|
-
var _a, _b;
|
|
15074
|
+
var _a, _b, _c;
|
|
14979
15075
|
if (options.panel.hasParent) {
|
|
14980
15076
|
var parent_1 = ((_a = options.panel.parent) !== null && _a !== void 0 ? _a : options.panel.parentQuestion);
|
|
14981
15077
|
if (!parent_1 || parent_1.hasParent && !(parent_1.name === "settings" || ((_b = parent_1.parentQuestion) === null || _b === void 0 ? void 0 : _b.name) === "settings")) {
|
|
@@ -14987,6 +15083,16 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
14987
15083
|
options.cssClasses.panel.content = "spg-nested-panel__content";
|
|
14988
15084
|
}
|
|
14989
15085
|
}
|
|
15086
|
+
else if (_this.showOneCategoryInPropertyGrid && ((_c = options.panel.parent) === null || _c === void 0 ? void 0 : _c.isPage)) {
|
|
15087
|
+
options.cssClasses.panel.container = "spg-panel-by-page";
|
|
15088
|
+
options.cssClasses.panel.content = "spg-panel-by-page__content";
|
|
15089
|
+
if (options.panel.name === "appearanceother") {
|
|
15090
|
+
options.cssClasses.panel.container += " spg-panel--hidden-border";
|
|
15091
|
+
}
|
|
15092
|
+
if (options.panel.name === "appearanceadvancedmode") {
|
|
15093
|
+
options.cssClasses.panel.container += " spg-panel--hidden-border spg-panel--padding";
|
|
15094
|
+
}
|
|
15095
|
+
}
|
|
14990
15096
|
});
|
|
14991
15097
|
this.updatePropertyGridEditorsAvailability();
|
|
14992
15098
|
this.updateVisibilityOfPropertyGridGroups();
|
|
@@ -15000,15 +15106,16 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
15000
15106
|
var _this = this;
|
|
15001
15107
|
if (this.showOneCategoryInPropertyGrid) {
|
|
15002
15108
|
var pgTabs_1 = this.propertyGrid.survey.pages.map(function (p) {
|
|
15003
|
-
var action = new
|
|
15109
|
+
var action = new _utils_actions__WEBPACK_IMPORTED_MODULE_14__.MenuButton({
|
|
15004
15110
|
id: p.name,
|
|
15005
|
-
locTooltipName: (0,
|
|
15006
|
-
iconName:
|
|
15111
|
+
locTooltipName: (0,_editorLocalization__WEBPACK_IMPORTED_MODULE_2__.getLocString)("pe.tabs." + p.name),
|
|
15112
|
+
iconName: _property_grid_icons__WEBPACK_IMPORTED_MODULE_13__.pgTabIcons[p.name] || _property_grid_icons__WEBPACK_IMPORTED_MODULE_13__.pgTabIcons["undefined"],
|
|
15007
15113
|
active: p.name === _this.propertyGrid.survey.currentPage.name,
|
|
15008
15114
|
pressed: false,
|
|
15009
15115
|
action: function () {
|
|
15010
15116
|
_this.creator.sidebar.expandSidebar();
|
|
15011
15117
|
_this.propertyGrid.survey.currentPage = p;
|
|
15118
|
+
_this.creator.sidebar.header.subTitle = p.title;
|
|
15012
15119
|
pgTabs_1.forEach(function (i) { return i.active = false; });
|
|
15013
15120
|
action.active = true;
|
|
15014
15121
|
}
|
|
@@ -15016,6 +15123,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
15016
15123
|
return action;
|
|
15017
15124
|
});
|
|
15018
15125
|
this.tabControlModel.topToolbar.setItems(pgTabs_1);
|
|
15126
|
+
this.creator.sidebar.header.subTitle = this.propertyGrid.survey.currentPage.title;
|
|
15019
15127
|
}
|
|
15020
15128
|
};
|
|
15021
15129
|
ThemeTabPlugin.prototype.update = function () {
|
|
@@ -15048,7 +15156,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
15048
15156
|
});
|
|
15049
15157
|
this.themeModel.onThemeSelected.add(function (sender, options) {
|
|
15050
15158
|
_this.syncTheme(options.theme);
|
|
15051
|
-
_this.resetTheme.enabled = (0,
|
|
15159
|
+
_this.resetTheme.enabled = (0,_theme_model__WEBPACK_IMPORTED_MODULE_8__.getThemeFullName)(sender.defaultSessionTheme) !== (0,_theme_model__WEBPACK_IMPORTED_MODULE_8__.getThemeFullName)(options.theme);
|
|
15052
15160
|
_this.saveThemeAction.enabled = true;
|
|
15053
15161
|
_this.onThemeSelected.fire(_this, options);
|
|
15054
15162
|
if (_this.creator.isAutoSave) {
|
|
@@ -15077,7 +15185,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
15077
15185
|
this.themeModel.onAllowModifyTheme.add(function (sender, options) {
|
|
15078
15186
|
_this.onAllowModifyTheme.fire(_this, options);
|
|
15079
15187
|
});
|
|
15080
|
-
this.resetTheme.enabled = (0,
|
|
15188
|
+
this.resetTheme.enabled = (0,_theme_model__WEBPACK_IMPORTED_MODULE_8__.getThemeFullName)(this.themeModel.defaultSessionTheme) !== (0,_theme_model__WEBPACK_IMPORTED_MODULE_8__.getThemeFullName)(this.creator.theme) || this.isModified;
|
|
15081
15189
|
this.updateTabControl();
|
|
15082
15190
|
};
|
|
15083
15191
|
ThemeTabPlugin.prototype.updateAllowModifyTheme = function () {
|
|
@@ -15091,6 +15199,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
15091
15199
|
});
|
|
15092
15200
|
};
|
|
15093
15201
|
ThemeTabPlugin.prototype.deactivate = function () {
|
|
15202
|
+
var _a;
|
|
15094
15203
|
if (this.model) {
|
|
15095
15204
|
this.simulatorCssClasses = this.model.survey.css;
|
|
15096
15205
|
this.model.onPropertyChanged.clear();
|
|
@@ -15102,10 +15211,10 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
15102
15211
|
this.model = undefined;
|
|
15103
15212
|
this.creator.sidebar.hideSideBarVisibilityControlActions = false;
|
|
15104
15213
|
}
|
|
15214
|
+
this._advancedModeValue = !!((_a = this.propertyGrid.survey.getQuestionByName("advancedMode")) === null || _a === void 0 ? void 0 : _a.value);
|
|
15105
15215
|
this.creator.sidebar.sideAreaComponentName = undefined;
|
|
15106
15216
|
this.creator.sidebar.sideAreaComponentData = undefined;
|
|
15107
|
-
this.creator.sidebar.
|
|
15108
|
-
this.creator.sidebar.headerComponentData = undefined;
|
|
15217
|
+
this.creator.sidebar.header.reset();
|
|
15109
15218
|
this.propertyGridTab.visible = false;
|
|
15110
15219
|
this.testAgainAction.visible = false;
|
|
15111
15220
|
this.invisibleToggleAction && (this.invisibleToggleAction.visible = false);
|
|
@@ -15132,7 +15241,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
15132
15241
|
ThemeTabPlugin.prototype.createActions = function () {
|
|
15133
15242
|
var _this = this;
|
|
15134
15243
|
var items = [];
|
|
15135
|
-
this.designerAction = new
|
|
15244
|
+
this.designerAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
15136
15245
|
id: "svd-designer",
|
|
15137
15246
|
iconName: "icon-config",
|
|
15138
15247
|
action: function () { _this.creator.makeNewViewActive("designer"); },
|
|
@@ -15140,20 +15249,20 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
15140
15249
|
locTitleName: "ed.designer",
|
|
15141
15250
|
showTitle: false
|
|
15142
15251
|
});
|
|
15143
|
-
this.prevPageAction = new
|
|
15252
|
+
this.prevPageAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
15144
15253
|
id: "prevPage",
|
|
15145
15254
|
iconName: "icon-arrow-left_16x16",
|
|
15146
|
-
needSeparator: new
|
|
15255
|
+
needSeparator: new survey_core__WEBPACK_IMPORTED_MODULE_0__.ComputedUpdater(function () {
|
|
15147
15256
|
return _this.creator.isMobileView;
|
|
15148
15257
|
}),
|
|
15149
15258
|
visible: false
|
|
15150
15259
|
});
|
|
15151
|
-
this.nextPageAction = new
|
|
15260
|
+
this.nextPageAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
15152
15261
|
id: "nextPage",
|
|
15153
15262
|
iconName: "icon-arrow-right_16x16",
|
|
15154
15263
|
visible: false
|
|
15155
15264
|
});
|
|
15156
|
-
this.previewAction = new
|
|
15265
|
+
this.previewAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
15157
15266
|
id: "svd-preview",
|
|
15158
15267
|
iconName: "icon-preview",
|
|
15159
15268
|
active: true,
|
|
@@ -15162,7 +15271,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
15162
15271
|
showTitle: false,
|
|
15163
15272
|
action: function () { }
|
|
15164
15273
|
});
|
|
15165
|
-
this.testAgainAction = new
|
|
15274
|
+
this.testAgainAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
15166
15275
|
id: "testSurveyAgain",
|
|
15167
15276
|
visible: false,
|
|
15168
15277
|
locTitleName: "ed.testSurveyAgain",
|
|
@@ -15170,7 +15279,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
15170
15279
|
_this.model.testAgain();
|
|
15171
15280
|
}
|
|
15172
15281
|
});
|
|
15173
|
-
this.undoAction = new
|
|
15282
|
+
this.undoAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
15174
15283
|
id: "action-undo-theme",
|
|
15175
15284
|
iconName: "icon-undo",
|
|
15176
15285
|
locTitleName: "ed.undo",
|
|
@@ -15178,7 +15287,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
15178
15287
|
visible: this.createVisibleUpdater(),
|
|
15179
15288
|
action: function () { return _this.undo(); }
|
|
15180
15289
|
});
|
|
15181
|
-
this.redoAction = new
|
|
15290
|
+
this.redoAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
15182
15291
|
id: "action-redo-theme",
|
|
15183
15292
|
iconName: "icon-redo",
|
|
15184
15293
|
locTitleName: "ed.redo",
|
|
@@ -15188,7 +15297,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
15188
15297
|
});
|
|
15189
15298
|
items.push(this.undoAction);
|
|
15190
15299
|
items.push(this.redoAction);
|
|
15191
|
-
this.saveThemeAction = new
|
|
15300
|
+
this.saveThemeAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
15192
15301
|
id: "svd-save-theme",
|
|
15193
15302
|
iconName: "icon-save",
|
|
15194
15303
|
action: function () {
|
|
@@ -15197,15 +15306,15 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
15197
15306
|
},
|
|
15198
15307
|
active: false,
|
|
15199
15308
|
enabled: false,
|
|
15200
|
-
visible: new
|
|
15201
|
-
return (0,
|
|
15309
|
+
visible: new survey_core__WEBPACK_IMPORTED_MODULE_0__.ComputedUpdater(function () {
|
|
15310
|
+
return (0,_utils_utils__WEBPACK_IMPORTED_MODULE_5__.notShortCircuitAnd)(_this.creator.activeTab === "theme", _this.creator.showSaveButton);
|
|
15202
15311
|
}),
|
|
15203
15312
|
locTitleName: "ed.saveTheme",
|
|
15204
15313
|
locTooltipName: "ed.saveThemeTooltip",
|
|
15205
15314
|
showTitle: false
|
|
15206
15315
|
});
|
|
15207
15316
|
items.push(this.saveThemeAction);
|
|
15208
|
-
this.resetTheme = new
|
|
15317
|
+
this.resetTheme = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
15209
15318
|
id: "svc-reset-theme",
|
|
15210
15319
|
iconName: "icon-reset",
|
|
15211
15320
|
locTitleName: "ed.themeResetButton",
|
|
@@ -15213,15 +15322,15 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
15213
15322
|
mode: "small",
|
|
15214
15323
|
visible: this.createVisibleUpdater(),
|
|
15215
15324
|
action: function () {
|
|
15216
|
-
|
|
15325
|
+
survey_core__WEBPACK_IMPORTED_MODULE_0__.settings.confirmActionAsync((0,_editorLocalization__WEBPACK_IMPORTED_MODULE_2__.getLocString)("ed.themeResetConfirmation"), function (confirm) {
|
|
15217
15326
|
if (confirm) {
|
|
15218
15327
|
_this.themeModel.resetTheme();
|
|
15219
15328
|
}
|
|
15220
|
-
}, (0,
|
|
15329
|
+
}, (0,_editorLocalization__WEBPACK_IMPORTED_MODULE_2__.getLocString)("ed.themeResetConfirmationOk"), _editorLocalization__WEBPACK_IMPORTED_MODULE_2__.editorLocalization.currentLocale);
|
|
15221
15330
|
}
|
|
15222
15331
|
});
|
|
15223
15332
|
items.push(this.resetTheme);
|
|
15224
|
-
this.themeSettingsAction = new
|
|
15333
|
+
this.themeSettingsAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
15225
15334
|
id: "svc-theme-settings",
|
|
15226
15335
|
iconName: "icon-theme",
|
|
15227
15336
|
action: function () {
|
|
@@ -15230,14 +15339,14 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
15230
15339
|
}
|
|
15231
15340
|
},
|
|
15232
15341
|
visible: this.createVisibleUpdater(),
|
|
15233
|
-
active: new
|
|
15234
|
-
pressed: new
|
|
15342
|
+
active: new survey_core__WEBPACK_IMPORTED_MODULE_0__.ComputedUpdater(function () { return _this.creator.showSidebar; }),
|
|
15343
|
+
pressed: new survey_core__WEBPACK_IMPORTED_MODULE_0__.ComputedUpdater(function () { return _this.creator.showSidebar; }),
|
|
15235
15344
|
locTitleName: "ed.themeSettings",
|
|
15236
15345
|
locTooltipName: "ed.themeSettingsTooltip",
|
|
15237
15346
|
showTitle: false
|
|
15238
15347
|
});
|
|
15239
15348
|
items.push(this.themeSettingsAction);
|
|
15240
|
-
this.importAction = new
|
|
15349
|
+
this.importAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
15241
15350
|
id: "svc-theme-import",
|
|
15242
15351
|
iconName: "icon-load",
|
|
15243
15352
|
locTitleName: "ed.themeImportButton",
|
|
@@ -15264,7 +15373,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
15264
15373
|
}
|
|
15265
15374
|
});
|
|
15266
15375
|
items.push(this.importAction);
|
|
15267
|
-
this.exportAction = new
|
|
15376
|
+
this.exportAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
15268
15377
|
id: "svc-theme-export",
|
|
15269
15378
|
iconName: "icon-download",
|
|
15270
15379
|
locTitleName: "ed.themeExportButton",
|
|
@@ -15273,12 +15382,12 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
15273
15382
|
mode: "small",
|
|
15274
15383
|
component: "sv-action-bar-item",
|
|
15275
15384
|
action: function () {
|
|
15276
|
-
_this.exportToFile(
|
|
15385
|
+
_this.exportToFile(_creator_settings__WEBPACK_IMPORTED_MODULE_1__.settings.themeEditor.exportFileName);
|
|
15277
15386
|
}
|
|
15278
15387
|
});
|
|
15279
15388
|
items.push(this.exportAction);
|
|
15280
15389
|
if (this.creator.showInvisibleElementsInTestSurveyTab) {
|
|
15281
|
-
this.invisibleToggleAction = new
|
|
15390
|
+
this.invisibleToggleAction = new survey_core__WEBPACK_IMPORTED_MODULE_0__.Action({
|
|
15282
15391
|
id: "showInvisible",
|
|
15283
15392
|
iconName: "icon-invisible-items",
|
|
15284
15393
|
mode: "small",
|
|
@@ -15287,7 +15396,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
15287
15396
|
action: function () {
|
|
15288
15397
|
_this.model.showInvisibleElements = !_this.model.showInvisibleElements;
|
|
15289
15398
|
_this.invisibleToggleAction.css = _this.model.showInvisibleElements ? "sv-action-bar-item--active" : "";
|
|
15290
|
-
_this.invisibleToggleAction.title = (0,
|
|
15399
|
+
_this.invisibleToggleAction.title = (0,_editorLocalization__WEBPACK_IMPORTED_MODULE_2__.getLocString)(!_this.model.showInvisibleElements ? "ts.showInvisibleElements" : "ts.hideInvisibleElements");
|
|
15291
15400
|
}
|
|
15292
15401
|
});
|
|
15293
15402
|
}
|
|
@@ -15393,7 +15502,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
15393
15502
|
ThemeTabPlugin.prototype.onAvailableThemesChanged = function (availableThemes) {
|
|
15394
15503
|
var themeChooser = this.propertyGrid.survey.getQuestionByName("themeName");
|
|
15395
15504
|
if (!!themeChooser) {
|
|
15396
|
-
themeChooser.choices = availableThemes.map(function (theme) { return ({ value: theme, text: (0,
|
|
15505
|
+
themeChooser.choices = availableThemes.map(function (theme) { return ({ value: theme, text: (0,_editorLocalization__WEBPACK_IMPORTED_MODULE_2__.getLocString)("theme.names." + theme) }); });
|
|
15397
15506
|
if (availableThemes.indexOf(themeChooser.value) === -1) {
|
|
15398
15507
|
this.themeModel.setTheme(this.themeModel.defaultSessionTheme);
|
|
15399
15508
|
}
|
|
@@ -15410,12 +15519,12 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
15410
15519
|
*/
|
|
15411
15520
|
ThemeTabPlugin.prototype.addTheme = function (theme, setAsDefault) {
|
|
15412
15521
|
if (setAsDefault === void 0) { setAsDefault = false; }
|
|
15413
|
-
var fullThemeName = (0,
|
|
15414
|
-
|
|
15522
|
+
var fullThemeName = (0,_theme_model__WEBPACK_IMPORTED_MODULE_8__.getThemeFullName)(theme);
|
|
15523
|
+
_themes__WEBPACK_IMPORTED_MODULE_4__.Themes[fullThemeName] = theme;
|
|
15415
15524
|
if (this._availableThemes.indexOf(theme.themeName) === -1) {
|
|
15416
15525
|
if (setAsDefault) {
|
|
15417
15526
|
this.availableThemes = [theme.themeName].concat(this.availableThemes);
|
|
15418
|
-
|
|
15527
|
+
_theme_model__WEBPACK_IMPORTED_MODULE_8__.ThemeModel.DefaultTheme = theme;
|
|
15419
15528
|
}
|
|
15420
15529
|
else {
|
|
15421
15530
|
this.availableThemes = this.availableThemes.concat([theme.themeName]);
|
|
@@ -15436,18 +15545,18 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
15436
15545
|
*/
|
|
15437
15546
|
ThemeTabPlugin.prototype.removeTheme = function (themeAccessor, includeModifications) {
|
|
15438
15547
|
if (includeModifications === void 0) { includeModifications = false; }
|
|
15439
|
-
var themeToDelete = typeof themeAccessor === "string" ?
|
|
15440
|
-
var fullThemeName = typeof themeAccessor === "string" ? themeAccessor : (0,
|
|
15548
|
+
var themeToDelete = typeof themeAccessor === "string" ? _themes__WEBPACK_IMPORTED_MODULE_4__.Themes[themeAccessor] : themeAccessor;
|
|
15549
|
+
var fullThemeName = typeof themeAccessor === "string" ? themeAccessor : (0,_theme_model__WEBPACK_IMPORTED_MODULE_8__.getThemeFullName)(themeToDelete);
|
|
15441
15550
|
if (!!themeToDelete) {
|
|
15442
|
-
delete
|
|
15443
|
-
if (
|
|
15444
|
-
|
|
15445
|
-
this.themeModel.defaultSessionTheme =
|
|
15551
|
+
delete _themes__WEBPACK_IMPORTED_MODULE_4__.Themes[fullThemeName];
|
|
15552
|
+
if (_theme_model__WEBPACK_IMPORTED_MODULE_8__.ThemeModel.DefaultTheme === themeToDelete) {
|
|
15553
|
+
_theme_model__WEBPACK_IMPORTED_MODULE_8__.ThemeModel.DefaultTheme = _themes__WEBPACK_IMPORTED_MODULE_4__.Themes["default-light"] || _themes__WEBPACK_IMPORTED_MODULE_4__.Themes[Object.keys(_themes__WEBPACK_IMPORTED_MODULE_4__.Themes)[0]];
|
|
15554
|
+
this.themeModel.defaultSessionTheme = _theme_model__WEBPACK_IMPORTED_MODULE_8__.ThemeModel.DefaultTheme;
|
|
15446
15555
|
}
|
|
15447
|
-
var registeredThemeNames = Object.keys(
|
|
15556
|
+
var registeredThemeNames = Object.keys(_themes__WEBPACK_IMPORTED_MODULE_4__.Themes);
|
|
15448
15557
|
var themeModifications = registeredThemeNames.filter(function (themeName) { return themeName.indexOf(themeToDelete.themeName + "-") === 0; });
|
|
15449
15558
|
if (includeModifications && themeModifications.length > 0) {
|
|
15450
|
-
themeModifications.forEach(function (themeModificationFullName) { return delete
|
|
15559
|
+
themeModifications.forEach(function (themeModificationFullName) { return delete _themes__WEBPACK_IMPORTED_MODULE_4__.Themes[themeModificationFullName]; });
|
|
15451
15560
|
}
|
|
15452
15561
|
if (includeModifications || themeModifications.length === 0) {
|
|
15453
15562
|
var themeIndex = this._availableThemes.indexOf(themeToDelete.themeName);
|
|
@@ -15475,7 +15584,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
15475
15584
|
return this.getThemeChanges();
|
|
15476
15585
|
};
|
|
15477
15586
|
ThemeTabPlugin.prototype.getThemeChanges = function () {
|
|
15478
|
-
return (0,
|
|
15587
|
+
return (0,_theme_model__WEBPACK_IMPORTED_MODULE_8__.getThemeChanges)(this.creator.theme);
|
|
15479
15588
|
};
|
|
15480
15589
|
Object.defineProperty(ThemeTabPlugin.prototype, "isModified", {
|
|
15481
15590
|
/**
|
|
@@ -15493,7 +15602,7 @@ var ThemeTabPlugin = /** @class */ (function () {
|
|
|
15493
15602
|
enumerable: false,
|
|
15494
15603
|
configurable: true
|
|
15495
15604
|
});
|
|
15496
|
-
ThemeTabPlugin.DefaultTheme =
|
|
15605
|
+
ThemeTabPlugin.DefaultTheme = _themes__WEBPACK_IMPORTED_MODULE_4__.Themes["default-light"];
|
|
15497
15606
|
return ThemeTabPlugin;
|
|
15498
15607
|
}());
|
|
15499
15608
|
|
|
@@ -25939,6 +26048,7 @@ var enStrings = {
|
|
|
25939
26048
|
fontSize: "Survey font size",
|
|
25940
26049
|
scale: "Survey scale factor",
|
|
25941
26050
|
cornerRadius: "Corner radius",
|
|
26051
|
+
advancedMode: "Advanced mode",
|
|
25942
26052
|
pageTitle: "Title font",
|
|
25943
26053
|
pageDescription: "Description font",
|
|
25944
26054
|
questionTitle: "Title font",
|
|
@@ -26575,6 +26685,7 @@ var enStrings = {
|
|
|
26575
26685
|
inheritWidthFrom: "The \"Same as container\" option auto-adjusts the header content area width to fit into the HTML element the survey is placed in.",
|
|
26576
26686
|
textAreaWidth: "The width of the header area that contains the survey title and description, measured in pixels.",
|
|
26577
26687
|
overlapEnabled: "Makes the bottom of the header overlaid with the top of the survey.",
|
|
26688
|
+
mobileHeight: "When set to 0, the height is calculated automatically to accommodate the header's content.",
|
|
26578
26689
|
},
|
|
26579
26690
|
panellayoutcolumn: {
|
|
26580
26691
|
effectiveWidth: "Accepts values %.",
|
|
@@ -26662,6 +26773,7 @@ var enStrings = {
|
|
|
26662
26773
|
imageFit: "Image and thumbnail fit",
|
|
26663
26774
|
altText: "Alt text",
|
|
26664
26775
|
height: "Height",
|
|
26776
|
+
mobileHeight: "Height on smartphones",
|
|
26665
26777
|
penColor: "Pen color",
|
|
26666
26778
|
backgroundColor: "Background color",
|
|
26667
26779
|
templateElements: "Template elements",
|
|
@@ -30133,6 +30245,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
30133
30245
|
/* harmony export */ PropertyGridEditorString: () => (/* binding */ PropertyGridEditorString),
|
|
30134
30246
|
/* harmony export */ PropertyGridEditorStringArray: () => (/* binding */ PropertyGridEditorStringArray),
|
|
30135
30247
|
/* harmony export */ PropertyGridEditorStringBase: () => (/* binding */ PropertyGridEditorStringBase),
|
|
30248
|
+
/* harmony export */ PropertyGridEditorSwitchToggle: () => (/* binding */ PropertyGridEditorSwitchToggle),
|
|
30136
30249
|
/* harmony export */ PropertyGridEditorText: () => (/* binding */ PropertyGridEditorText),
|
|
30137
30250
|
/* harmony export */ PropertyGridEditorUndefinedBoolean: () => (/* binding */ PropertyGridEditorUndefinedBoolean),
|
|
30138
30251
|
/* harmony export */ PropertyGridLinkEditor: () => (/* binding */ PropertyGridLinkEditor),
|
|
@@ -31455,6 +31568,39 @@ var PropertyGridEditorBoolean = /** @class */ (function (_super) {
|
|
|
31455
31568
|
return PropertyGridEditorBoolean;
|
|
31456
31569
|
}(PropertyGridEditor));
|
|
31457
31570
|
|
|
31571
|
+
var PropertyGridEditorSwitchToggle = /** @class */ (function (_super) {
|
|
31572
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(PropertyGridEditorSwitchToggle, _super);
|
|
31573
|
+
function PropertyGridEditorSwitchToggle() {
|
|
31574
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
31575
|
+
}
|
|
31576
|
+
PropertyGridEditorSwitchToggle.prototype.fit = function (prop, context) {
|
|
31577
|
+
return prop.type == "switchToggle";
|
|
31578
|
+
};
|
|
31579
|
+
PropertyGridEditorSwitchToggle.prototype.getJSON = function (obj, prop, options) {
|
|
31580
|
+
var res = {
|
|
31581
|
+
type: "boolean",
|
|
31582
|
+
default: false,
|
|
31583
|
+
};
|
|
31584
|
+
var choices = prop.getChoices(obj, function (choices) { });
|
|
31585
|
+
if (Array.isArray(choices) && choices.length >= 2) {
|
|
31586
|
+
var jsonChoices = [];
|
|
31587
|
+
for (var i = 0; i < 2; i++) {
|
|
31588
|
+
var val = choices[i].value || choices[i];
|
|
31589
|
+
jsonChoices.push({ value: val, text: _editorLocalization__WEBPACK_IMPORTED_MODULE_2__.editorLocalization.getPropertyValueInEditor(prop.name, val) });
|
|
31590
|
+
}
|
|
31591
|
+
var defaultValue = prop.getDefaultValue(obj) || jsonChoices[0].value;
|
|
31592
|
+
var indexTrue = defaultValue === choices[1].value ? 1 : 0;
|
|
31593
|
+
var indexFalse = indexTrue === 0 ? 1 : 0;
|
|
31594
|
+
res.valueTrue = jsonChoices[indexTrue].value;
|
|
31595
|
+
res.valueFalse = jsonChoices[indexFalse].value;
|
|
31596
|
+
res.labelTrue = jsonChoices[indexTrue].text;
|
|
31597
|
+
res.labelFalse = jsonChoices[indexFalse].text;
|
|
31598
|
+
}
|
|
31599
|
+
return res;
|
|
31600
|
+
};
|
|
31601
|
+
return PropertyGridEditorSwitchToggle;
|
|
31602
|
+
}(PropertyGridEditor));
|
|
31603
|
+
|
|
31458
31604
|
var PropertyGridEditorUndefinedBoolean = /** @class */ (function (_super) {
|
|
31459
31605
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(PropertyGridEditorUndefinedBoolean, _super);
|
|
31460
31606
|
function PropertyGridEditorUndefinedBoolean() {
|
|
@@ -32124,6 +32270,7 @@ PropertyGridEditorCollection.register(new PropertyGridEditorColor());
|
|
|
32124
32270
|
PropertyGridEditorCollection.register(new PropertyGridEditorColorWithAlpha());
|
|
32125
32271
|
PropertyGridEditorCollection.register(new PropertyGridEditorDateTime());
|
|
32126
32272
|
PropertyGridEditorCollection.register(new PropertyGridEditorUndefinedBoolean());
|
|
32273
|
+
PropertyGridEditorCollection.register(new PropertyGridEditorSwitchToggle());
|
|
32127
32274
|
survey_core__WEBPACK_IMPORTED_MODULE_1__.QuestionFactory.Instance.registerQuestion("buttongroup", function (name) {
|
|
32128
32275
|
return new survey_core__WEBPACK_IMPORTED_MODULE_1__.QuestionButtonGroupModel(name);
|
|
32129
32276
|
}, false);
|
|
@@ -39671,24 +39818,24 @@ var __webpack_exports__ = {};
|
|
|
39671
39818
|
__webpack_require__.r(__webpack_exports__);
|
|
39672
39819
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
39673
39820
|
/* harmony export */ AceJsonEditorModel: () => (/* reexport safe */ _components_tabs_json_editor_ace__WEBPACK_IMPORTED_MODULE_6__.AceJsonEditorModel),
|
|
39674
|
-
/* harmony export */ ColorCalculator: () => (/* reexport safe */
|
|
39821
|
+
/* harmony export */ ColorCalculator: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.ColorCalculator),
|
|
39675
39822
|
/* harmony export */ CreatorAction: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.CreatorAction),
|
|
39676
39823
|
/* harmony export */ CreatorBase: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.CreatorBase),
|
|
39677
39824
|
/* harmony export */ CreatorEvent: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.CreatorEvent),
|
|
39678
|
-
/* harmony export */ CreatorPreset: () => (/* reexport safe */
|
|
39679
|
-
/* harmony export */ CreatorPresetBase: () => (/* reexport safe */
|
|
39680
|
-
/* harmony export */ CreatorPresetPropertyGrid: () => (/* reexport safe */
|
|
39681
|
-
/* harmony export */ CreatorPresetPropertyGridDefinition: () => (/* reexport safe */
|
|
39682
|
-
/* harmony export */ CreatorPresetTabs: () => (/* reexport safe */
|
|
39683
|
-
/* harmony export */ CreatorPresetToolbox: () => (/* reexport safe */
|
|
39684
|
-
/* harmony export */ CreatorPresetToolboxConfigurator: () => (/* reexport safe */
|
|
39685
|
-
/* harmony export */ CreatorPresetToolboxDefinition: () => (/* reexport safe */
|
|
39825
|
+
/* harmony export */ CreatorPreset: () => (/* reexport safe */ _presets_presets__WEBPACK_IMPORTED_MODULE_83__.CreatorPreset),
|
|
39826
|
+
/* harmony export */ CreatorPresetBase: () => (/* reexport safe */ _presets_presets_base__WEBPACK_IMPORTED_MODULE_82__.CreatorPresetBase),
|
|
39827
|
+
/* harmony export */ CreatorPresetPropertyGrid: () => (/* reexport safe */ _presets_presets_properties__WEBPACK_IMPORTED_MODULE_84__.CreatorPresetPropertyGrid),
|
|
39828
|
+
/* harmony export */ CreatorPresetPropertyGridDefinition: () => (/* reexport safe */ _presets_presets_properties__WEBPACK_IMPORTED_MODULE_84__.CreatorPresetPropertyGridDefinition),
|
|
39829
|
+
/* harmony export */ CreatorPresetTabs: () => (/* reexport safe */ _presets_presets_tabs__WEBPACK_IMPORTED_MODULE_85__.CreatorPresetTabs),
|
|
39830
|
+
/* harmony export */ CreatorPresetToolbox: () => (/* reexport safe */ _presets_presets_toolbox__WEBPACK_IMPORTED_MODULE_86__.CreatorPresetToolbox),
|
|
39831
|
+
/* harmony export */ CreatorPresetToolboxConfigurator: () => (/* reexport safe */ _presets_presets_toolbox__WEBPACK_IMPORTED_MODULE_86__.CreatorPresetToolboxConfigurator),
|
|
39832
|
+
/* harmony export */ CreatorPresetToolboxDefinition: () => (/* reexport safe */ _presets_presets_toolbox__WEBPACK_IMPORTED_MODULE_86__.CreatorPresetToolboxDefinition),
|
|
39686
39833
|
/* harmony export */ CreatorResponsivityManager: () => (/* reexport safe */ _creator_responsivity_manager__WEBPACK_IMPORTED_MODULE_5__.CreatorResponsivityManager),
|
|
39687
39834
|
/* harmony export */ DEFAULT_MONITOR_DPI: () => (/* reexport safe */ _components_simulator__WEBPACK_IMPORTED_MODULE_39__.DEFAULT_MONITOR_DPI),
|
|
39688
39835
|
/* harmony export */ DefaultFonts: () => (/* reexport safe */ _components_tabs_theme_custom_questions_font_settings__WEBPACK_IMPORTED_MODULE_13__.DefaultFonts),
|
|
39689
39836
|
/* harmony export */ EditorLocalization: () => (/* reexport safe */ _editorLocalization__WEBPACK_IMPORTED_MODULE_1__.EditorLocalization),
|
|
39690
39837
|
/* harmony export */ EmptySurveyCreatorOptions: () => (/* reexport safe */ _creator_settings__WEBPACK_IMPORTED_MODULE_2__.EmptySurveyCreatorOptions),
|
|
39691
|
-
/* harmony export */ HSBToRGB: () => (/* reexport safe */
|
|
39838
|
+
/* harmony export */ HSBToRGB: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.HSBToRGB),
|
|
39692
39839
|
/* harmony export */ ImageItemValueWrapperViewModel: () => (/* reexport safe */ _components_image_item_value__WEBPACK_IMPORTED_MODULE_37__.ImageItemValueWrapperViewModel),
|
|
39693
39840
|
/* harmony export */ ItemValueWrapperViewModel: () => (/* reexport safe */ _components_item_value__WEBPACK_IMPORTED_MODULE_36__.ItemValueWrapperViewModel),
|
|
39694
39841
|
/* harmony export */ JsonDuplicateNameError: () => (/* reexport safe */ _textWorker__WEBPACK_IMPORTED_MODULE_65__.JsonDuplicateNameError),
|
|
@@ -39697,14 +39844,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
39697
39844
|
/* harmony export */ LogoImageViewModel: () => (/* reexport safe */ _components_header_logo_image__WEBPACK_IMPORTED_MODULE_41__.LogoImageViewModel),
|
|
39698
39845
|
/* harmony export */ MatrixCellWrapperEditSurvey: () => (/* reexport safe */ _components_matrix_cell__WEBPACK_IMPORTED_MODULE_38__.MatrixCellWrapperEditSurvey),
|
|
39699
39846
|
/* harmony export */ MatrixCellWrapperViewModel: () => (/* reexport safe */ _components_matrix_cell__WEBPACK_IMPORTED_MODULE_38__.MatrixCellWrapperViewModel),
|
|
39700
|
-
/* harmony export */ MenuButton: () => (/* reexport safe */
|
|
39701
|
-
/* harmony export */ ObjType: () => (/* reexport safe */
|
|
39847
|
+
/* harmony export */ MenuButton: () => (/* reexport safe */ _utils_actions__WEBPACK_IMPORTED_MODULE_74__.MenuButton),
|
|
39848
|
+
/* harmony export */ ObjType: () => (/* reexport safe */ _survey_helper__WEBPACK_IMPORTED_MODULE_77__.ObjType),
|
|
39702
39849
|
/* harmony export */ ObjectSelector: () => (/* reexport safe */ _property_grid_object_selector__WEBPACK_IMPORTED_MODULE_55__.ObjectSelector),
|
|
39703
39850
|
/* harmony export */ ObjectSelectorItem: () => (/* reexport safe */ _property_grid_object_selector__WEBPACK_IMPORTED_MODULE_55__.ObjectSelectorItem),
|
|
39704
39851
|
/* harmony export */ ObjectSelectorModel: () => (/* reexport safe */ _property_grid_object_selector__WEBPACK_IMPORTED_MODULE_55__.ObjectSelectorModel),
|
|
39705
39852
|
/* harmony export */ PageAdorner: () => (/* reexport safe */ _components_page__WEBPACK_IMPORTED_MODULE_30__.PageAdorner),
|
|
39706
39853
|
/* harmony export */ PageNavigatorViewModel: () => (/* reexport safe */ _components_page_navigator_page_navigator__WEBPACK_IMPORTED_MODULE_29__.PageNavigatorViewModel),
|
|
39707
|
-
/* harmony export */ PagesController: () => (/* reexport safe */
|
|
39854
|
+
/* harmony export */ PagesController: () => (/* reexport safe */ _pages_controller__WEBPACK_IMPORTED_MODULE_81__.PagesController),
|
|
39708
39855
|
/* harmony export */ PredefinedColors: () => (/* reexport safe */ _components_tabs_themes__WEBPACK_IMPORTED_MODULE_15__.PredefinedColors),
|
|
39709
39856
|
/* harmony export */ PredefinedThemes: () => (/* reexport safe */ _components_tabs_themes__WEBPACK_IMPORTED_MODULE_15__.PredefinedThemes),
|
|
39710
39857
|
/* harmony export */ PropertyEditorSetupValue: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_50__.PropertyEditorSetupValue),
|
|
@@ -39751,6 +39898,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
39751
39898
|
/* harmony export */ PropertyGridEditorString: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_50__.PropertyGridEditorString),
|
|
39752
39899
|
/* harmony export */ PropertyGridEditorStringArray: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_50__.PropertyGridEditorStringArray),
|
|
39753
39900
|
/* harmony export */ PropertyGridEditorStringBase: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_50__.PropertyGridEditorStringBase),
|
|
39901
|
+
/* harmony export */ PropertyGridEditorSwitchToggle: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_50__.PropertyGridEditorSwitchToggle),
|
|
39754
39902
|
/* harmony export */ PropertyGridEditorText: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_50__.PropertyGridEditorText),
|
|
39755
39903
|
/* harmony export */ PropertyGridEditorUndefinedBoolean: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_50__.PropertyGridEditorUndefinedBoolean),
|
|
39756
39904
|
/* harmony export */ PropertyGridLinkEditor: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_50__.PropertyGridLinkEditor),
|
|
@@ -39780,28 +39928,29 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
39780
39928
|
/* harmony export */ QuestionToolbox: () => (/* reexport safe */ _toolbox__WEBPACK_IMPORTED_MODULE_66__.QuestionToolbox),
|
|
39781
39929
|
/* harmony export */ QuestionToolboxCategory: () => (/* reexport safe */ _toolbox__WEBPACK_IMPORTED_MODULE_66__.QuestionToolboxCategory),
|
|
39782
39930
|
/* harmony export */ QuestionToolboxItem: () => (/* reexport safe */ _toolbox__WEBPACK_IMPORTED_MODULE_66__.QuestionToolboxItem),
|
|
39783
|
-
/* harmony export */ RGBToHSB: () => (/* reexport safe */
|
|
39931
|
+
/* harmony export */ RGBToHSB: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.RGBToHSB),
|
|
39784
39932
|
/* harmony export */ ResetValueAdorner: () => (/* reexport safe */ _custom_questions_question_text_with_reset__WEBPACK_IMPORTED_MODULE_49__.ResetValueAdorner),
|
|
39785
|
-
/* harmony export */ ResizeManager: () => (/* reexport safe */
|
|
39933
|
+
/* harmony export */ ResizeManager: () => (/* reexport safe */ _utils_resizer__WEBPACK_IMPORTED_MODULE_78__.ResizeManager),
|
|
39786
39934
|
/* harmony export */ RowViewModel: () => (/* reexport safe */ _components_row__WEBPACK_IMPORTED_MODULE_31__.RowViewModel),
|
|
39787
39935
|
/* harmony export */ SearchManager: () => (/* reexport safe */ _property_grid_search_manager__WEBPACK_IMPORTED_MODULE_59__.SearchManager),
|
|
39788
39936
|
/* harmony export */ SearchManagerPropertyGrid: () => (/* reexport safe */ _property_grid_search_manager__WEBPACK_IMPORTED_MODULE_59__.SearchManagerPropertyGrid),
|
|
39789
39937
|
/* harmony export */ SearchManagerToolbox: () => (/* reexport safe */ _property_grid_search_manager__WEBPACK_IMPORTED_MODULE_59__.SearchManagerToolbox),
|
|
39938
|
+
/* harmony export */ SidebarHeaderModel: () => (/* reexport safe */ _components_side_bar_side_bar_header_model__WEBPACK_IMPORTED_MODULE_68__.SidebarHeaderModel),
|
|
39790
39939
|
/* harmony export */ SidebarModel: () => (/* reexport safe */ _components_side_bar_side_bar_model__WEBPACK_IMPORTED_MODULE_67__.SidebarModel),
|
|
39791
|
-
/* harmony export */ SidebarPageModel: () => (/* reexport safe */
|
|
39940
|
+
/* harmony export */ SidebarPageModel: () => (/* reexport safe */ _components_side_bar_side_bar_page_model__WEBPACK_IMPORTED_MODULE_69__.SidebarPageModel),
|
|
39792
39941
|
/* harmony export */ StringEditorConnector: () => (/* reexport safe */ _components_string_editor__WEBPACK_IMPORTED_MODULE_42__.StringEditorConnector),
|
|
39793
39942
|
/* harmony export */ StringEditorViewModelBase: () => (/* reexport safe */ _components_string_editor__WEBPACK_IMPORTED_MODULE_42__.StringEditorViewModelBase),
|
|
39794
39943
|
/* harmony export */ StringItemsNavigatorBase: () => (/* reexport safe */ _components_string_editor__WEBPACK_IMPORTED_MODULE_42__.StringItemsNavigatorBase),
|
|
39795
39944
|
/* harmony export */ StylesManager: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.StylesManager),
|
|
39796
39945
|
/* harmony export */ SurveyCreatorModel: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.SurveyCreatorModel),
|
|
39797
|
-
/* harmony export */ SurveyHelper: () => (/* reexport safe */
|
|
39946
|
+
/* harmony export */ SurveyHelper: () => (/* reexport safe */ _survey_helper__WEBPACK_IMPORTED_MODULE_77__.SurveyHelper),
|
|
39798
39947
|
/* harmony export */ SurveyJSON5: () => (/* reexport safe */ _json5__WEBPACK_IMPORTED_MODULE_45__.SurveyJSON5),
|
|
39799
39948
|
/* harmony export */ SurveyLogic: () => (/* reexport safe */ _components_tabs_logic__WEBPACK_IMPORTED_MODULE_19__.SurveyLogic),
|
|
39800
39949
|
/* harmony export */ SurveyLogicUI: () => (/* reexport safe */ _components_tabs_logic_ui__WEBPACK_IMPORTED_MODULE_25__.SurveyLogicUI),
|
|
39801
|
-
/* harmony export */ SurveyQuestionEditorDefinition: () => (/* reexport safe */
|
|
39802
|
-
/* harmony export */ SurveyQuestionEditorPropertyDefinition: () => (/* reexport safe */
|
|
39803
|
-
/* harmony export */ SurveyQuestionEditorTabDefinition: () => (/* reexport safe */
|
|
39804
|
-
/* harmony export */ SurveyQuestionProperties: () => (/* reexport safe */
|
|
39950
|
+
/* harmony export */ SurveyQuestionEditorDefinition: () => (/* reexport safe */ _question_editor_definition__WEBPACK_IMPORTED_MODULE_75__.SurveyQuestionEditorDefinition),
|
|
39951
|
+
/* harmony export */ SurveyQuestionEditorPropertyDefinition: () => (/* reexport safe */ _question_editor_properties__WEBPACK_IMPORTED_MODULE_76__.SurveyQuestionEditorPropertyDefinition),
|
|
39952
|
+
/* harmony export */ SurveyQuestionEditorTabDefinition: () => (/* reexport safe */ _question_editor_properties__WEBPACK_IMPORTED_MODULE_76__.SurveyQuestionEditorTabDefinition),
|
|
39953
|
+
/* harmony export */ SurveyQuestionProperties: () => (/* reexport safe */ _question_editor_properties__WEBPACK_IMPORTED_MODULE_76__.SurveyQuestionProperties),
|
|
39805
39954
|
/* harmony export */ SurveyResultsItemModel: () => (/* reexport safe */ _components_results__WEBPACK_IMPORTED_MODULE_40__.SurveyResultsItemModel),
|
|
39806
39955
|
/* harmony export */ SurveyResultsModel: () => (/* reexport safe */ _components_results__WEBPACK_IMPORTED_MODULE_40__.SurveyResultsModel),
|
|
39807
39956
|
/* harmony export */ SurveySimulatorModel: () => (/* reexport safe */ _components_simulator__WEBPACK_IMPORTED_MODULE_39__.SurveySimulatorModel),
|
|
@@ -39809,8 +39958,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
39809
39958
|
/* harmony export */ SurveyTextWorkerError: () => (/* reexport safe */ _textWorker__WEBPACK_IMPORTED_MODULE_65__.SurveyTextWorkerError),
|
|
39810
39959
|
/* harmony export */ SurveyTextWorkerJsonError: () => (/* reexport safe */ _textWorker__WEBPACK_IMPORTED_MODULE_65__.SurveyTextWorkerJsonError),
|
|
39811
39960
|
/* harmony export */ SurveyTextWorkerParserError: () => (/* reexport safe */ _textWorker__WEBPACK_IMPORTED_MODULE_65__.SurveyTextWorkerParserError),
|
|
39812
|
-
/* harmony export */ Switcher: () => (/* reexport safe */
|
|
39813
|
-
/* harmony export */ TabControlModel: () => (/* reexport safe */
|
|
39961
|
+
/* harmony export */ Switcher: () => (/* reexport safe */ _components_switcher_switcher__WEBPACK_IMPORTED_MODULE_71__.Switcher),
|
|
39962
|
+
/* harmony export */ TabControlModel: () => (/* reexport safe */ _components_side_bar_tab_control_model__WEBPACK_IMPORTED_MODULE_70__.TabControlModel),
|
|
39814
39963
|
/* harmony export */ TabDesignerPlugin: () => (/* reexport safe */ _components_tabs_designer_plugin__WEBPACK_IMPORTED_MODULE_24__.TabDesignerPlugin),
|
|
39815
39964
|
/* harmony export */ TabDesignerViewModel: () => (/* reexport safe */ _components_tabs_designer__WEBPACK_IMPORTED_MODULE_23__.TabDesignerViewModel),
|
|
39816
39965
|
/* harmony export */ TabJsonEditorAcePlugin: () => (/* reexport safe */ _components_tabs_json_editor_ace__WEBPACK_IMPORTED_MODULE_6__.TabJsonEditorAcePlugin),
|
|
@@ -39829,7 +39978,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
39829
39978
|
/* harmony export */ Themes: () => (/* reexport safe */ _components_tabs_themes__WEBPACK_IMPORTED_MODULE_15__.Themes),
|
|
39830
39979
|
/* harmony export */ ToolbarActionContainer: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.ToolbarActionContainer),
|
|
39831
39980
|
/* harmony export */ ToolboxToolViewModel: () => (/* reexport safe */ _components_toolbox_toolbox_tool__WEBPACK_IMPORTED_MODULE_28__.ToolboxToolViewModel),
|
|
39832
|
-
/* harmony export */ Transaction: () => (/* reexport safe */
|
|
39981
|
+
/* harmony export */ Transaction: () => (/* reexport safe */ _plugins_undo_redo_undo_redo_manager__WEBPACK_IMPORTED_MODULE_80__.Transaction),
|
|
39833
39982
|
/* harmony export */ Translation: () => (/* reexport safe */ _components_tabs_translation__WEBPACK_IMPORTED_MODULE_20__.Translation),
|
|
39834
39983
|
/* harmony export */ TranslationEditor: () => (/* reexport safe */ _components_tabs_translation__WEBPACK_IMPORTED_MODULE_20__.TranslationEditor),
|
|
39835
39984
|
/* harmony export */ TranslationForEditor: () => (/* reexport safe */ _components_tabs_translation__WEBPACK_IMPORTED_MODULE_20__.TranslationForEditor),
|
|
@@ -39837,84 +39986,84 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
39837
39986
|
/* harmony export */ TranslationItem: () => (/* reexport safe */ _components_tabs_translation__WEBPACK_IMPORTED_MODULE_20__.TranslationItem),
|
|
39838
39987
|
/* harmony export */ TranslationItemBase: () => (/* reexport safe */ _components_tabs_translation__WEBPACK_IMPORTED_MODULE_20__.TranslationItemBase),
|
|
39839
39988
|
/* harmony export */ TranslationItemString: () => (/* reexport safe */ _components_tabs_translation__WEBPACK_IMPORTED_MODULE_20__.TranslationItemString),
|
|
39840
|
-
/* harmony export */ UndoRedoAction: () => (/* reexport safe */
|
|
39841
|
-
/* harmony export */ UndoRedoArrayAction: () => (/* reexport safe */
|
|
39842
|
-
/* harmony export */ UndoRedoManager: () => (/* reexport safe */
|
|
39843
|
-
/* harmony export */ UndoRedoPlugin: () => (/* reexport safe */
|
|
39989
|
+
/* harmony export */ UndoRedoAction: () => (/* reexport safe */ _plugins_undo_redo_undo_redo_manager__WEBPACK_IMPORTED_MODULE_80__.UndoRedoAction),
|
|
39990
|
+
/* harmony export */ UndoRedoArrayAction: () => (/* reexport safe */ _plugins_undo_redo_undo_redo_manager__WEBPACK_IMPORTED_MODULE_80__.UndoRedoArrayAction),
|
|
39991
|
+
/* harmony export */ UndoRedoManager: () => (/* reexport safe */ _plugins_undo_redo_undo_redo_manager__WEBPACK_IMPORTED_MODULE_80__.UndoRedoManager),
|
|
39992
|
+
/* harmony export */ UndoRedoPlugin: () => (/* reexport safe */ _plugins_undo_redo__WEBPACK_IMPORTED_MODULE_79__.UndoRedoPlugin),
|
|
39844
39993
|
/* harmony export */ Version: () => (/* binding */ Version),
|
|
39845
|
-
/* harmony export */ assign: () => (/* reexport safe */
|
|
39846
|
-
/* harmony export */ assignDefaultV2Classes: () => (/* reexport safe */
|
|
39994
|
+
/* harmony export */ assign: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.assign),
|
|
39995
|
+
/* harmony export */ assignDefaultV2Classes: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.assignDefaultV2Classes),
|
|
39847
39996
|
/* harmony export */ backgroundCornerRadiusFromCssVariable: () => (/* reexport safe */ _components_tabs_theme_custom_questions_background_corner_radius__WEBPACK_IMPORTED_MODULE_14__.backgroundCornerRadiusFromCssVariable),
|
|
39848
39997
|
/* harmony export */ backgroundCornerRadiusToCssVariable: () => (/* reexport safe */ _components_tabs_theme_custom_questions_background_corner_radius__WEBPACK_IMPORTED_MODULE_14__.backgroundCornerRadiusToCssVariable),
|
|
39849
|
-
/* harmony export */ capitalize: () => (/* reexport safe */
|
|
39850
|
-
/* harmony export */ clearNewLines: () => (/* reexport safe */
|
|
39851
|
-
/* harmony export */ convertRgbaToString: () => (/* reexport safe */
|
|
39852
|
-
/* harmony export */ copyCssClasses: () => (/* reexport safe */
|
|
39853
|
-
/* harmony export */ copyObject: () => (/* reexport safe */
|
|
39998
|
+
/* harmony export */ capitalize: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.capitalize),
|
|
39999
|
+
/* harmony export */ clearNewLines: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.clearNewLines),
|
|
40000
|
+
/* harmony export */ convertRgbaToString: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.convertRgbaToString),
|
|
40001
|
+
/* harmony export */ copyCssClasses: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.copyCssClasses),
|
|
40002
|
+
/* harmony export */ copyObject: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.copyObject),
|
|
39854
40003
|
/* harmony export */ createBoxShadow: () => (/* reexport safe */ _components_tabs_theme_custom_questions_shadow_effects__WEBPACK_IMPORTED_MODULE_12__.createBoxShadow),
|
|
39855
40004
|
/* harmony export */ createBoxShadowReset: () => (/* reexport safe */ _components_tabs_theme_custom_questions_shadow_effects__WEBPACK_IMPORTED_MODULE_12__.createBoxShadowReset),
|
|
39856
40005
|
/* harmony export */ createColor: () => (/* reexport safe */ _components_tabs_theme_custom_questions_color_alpha__WEBPACK_IMPORTED_MODULE_11__.createColor),
|
|
39857
40006
|
/* harmony export */ createExportCSVAction: () => (/* reexport safe */ _components_tabs_translation__WEBPACK_IMPORTED_MODULE_20__.createExportCSVAction),
|
|
39858
40007
|
/* harmony export */ createImportCSVAction: () => (/* reexport safe */ _components_tabs_translation__WEBPACK_IMPORTED_MODULE_20__.createImportCSVAction),
|
|
39859
|
-
/* harmony export */ defaultPropertyGridDefinition: () => (/* reexport safe */
|
|
40008
|
+
/* harmony export */ defaultPropertyGridDefinition: () => (/* reexport safe */ _question_editor_definition__WEBPACK_IMPORTED_MODULE_75__.defaultPropertyGridDefinition),
|
|
39860
40009
|
/* harmony export */ defaultStrings: () => (/* reexport safe */ _editorLocalization__WEBPACK_IMPORTED_MODULE_1__.defaultStrings),
|
|
39861
40010
|
/* harmony export */ editableStringRendererName: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.editableStringRendererName),
|
|
39862
40011
|
/* harmony export */ editorLocalization: () => (/* reexport safe */ _editorLocalization__WEBPACK_IMPORTED_MODULE_1__.editorLocalization),
|
|
39863
40012
|
/* harmony export */ enStrings: () => (/* reexport safe */ _localization_english__WEBPACK_IMPORTED_MODULE_0__.enStrings),
|
|
39864
|
-
/* harmony export */ findParentNode: () => (/* reexport safe */
|
|
39865
|
-
/* harmony export */ focusFirstControl: () => (/* reexport safe */
|
|
40013
|
+
/* harmony export */ findParentNode: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.findParentNode),
|
|
40014
|
+
/* harmony export */ focusFirstControl: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.focusFirstControl),
|
|
39866
40015
|
/* harmony export */ fontsettingsFromCssVariable: () => (/* reexport safe */ _components_tabs_theme_custom_questions_font_settings__WEBPACK_IMPORTED_MODULE_13__.fontsettingsFromCssVariable),
|
|
39867
40016
|
/* harmony export */ fontsettingsToCssVariable: () => (/* reexport safe */ _components_tabs_theme_custom_questions_font_settings__WEBPACK_IMPORTED_MODULE_13__.fontsettingsToCssVariable),
|
|
39868
|
-
/* harmony export */ getAcceptedTypesByContentMode: () => (/* reexport safe */
|
|
40017
|
+
/* harmony export */ getAcceptedTypesByContentMode: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.getAcceptedTypesByContentMode),
|
|
39869
40018
|
/* harmony export */ getElementWrapperComponentData: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.getElementWrapperComponentData),
|
|
39870
40019
|
/* harmony export */ getElementWrapperComponentName: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.getElementWrapperComponentName),
|
|
39871
|
-
/* harmony export */ getFirstNonTextElement: () => (/* reexport safe */
|
|
40020
|
+
/* harmony export */ getFirstNonTextElement: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.getFirstNonTextElement),
|
|
39872
40021
|
/* harmony export */ getItemValueWrapperComponentData: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.getItemValueWrapperComponentData),
|
|
39873
40022
|
/* harmony export */ getItemValueWrapperComponentName: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.getItemValueWrapperComponentName),
|
|
39874
40023
|
/* harmony export */ getLocString: () => (/* reexport safe */ _editorLocalization__WEBPACK_IMPORTED_MODULE_1__.getLocString),
|
|
39875
|
-
/* harmony export */ getNextItemText: () => (/* reexport safe */
|
|
39876
|
-
/* harmony export */ getNextItemValue: () => (/* reexport safe */
|
|
39877
|
-
/* harmony export */ getNextValue: () => (/* reexport safe */
|
|
39878
|
-
/* harmony export */ getNodesFromKoComponentInfo: () => (/* reexport safe */
|
|
40024
|
+
/* harmony export */ getNextItemText: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.getNextItemText),
|
|
40025
|
+
/* harmony export */ getNextItemValue: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.getNextItemValue),
|
|
40026
|
+
/* harmony export */ getNextValue: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.getNextValue),
|
|
40027
|
+
/* harmony export */ getNodesFromKoComponentInfo: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.getNodesFromKoComponentInfo),
|
|
39879
40028
|
/* harmony export */ getQuestionContentWrapperComponentName: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.getQuestionContentWrapperComponentName),
|
|
39880
|
-
/* harmony export */ getQuestionFromObj: () => (/* reexport safe */
|
|
39881
|
-
/* harmony export */ ignoreUndoRedo: () => (/* reexport safe */
|
|
39882
|
-
/* harmony export */ imageMimeTypes: () => (/* reexport safe */
|
|
39883
|
-
/* harmony export */ ingectAlpha: () => (/* reexport safe */
|
|
40029
|
+
/* harmony export */ getQuestionFromObj: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.getQuestionFromObj),
|
|
40030
|
+
/* harmony export */ ignoreUndoRedo: () => (/* reexport safe */ _plugins_undo_redo__WEBPACK_IMPORTED_MODULE_79__.ignoreUndoRedo),
|
|
40031
|
+
/* harmony export */ imageMimeTypes: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.imageMimeTypes),
|
|
40032
|
+
/* harmony export */ ingectAlpha: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.ingectAlpha),
|
|
39884
40033
|
/* harmony export */ initLogicOperator: () => (/* reexport safe */ _components_tabs_logic__WEBPACK_IMPORTED_MODULE_19__.initLogicOperator),
|
|
39885
40034
|
/* harmony export */ initialSettingsAllowShowEmptyTitleInDesignMode: () => (/* reexport safe */ _components_tabs_designer__WEBPACK_IMPORTED_MODULE_23__.initialSettingsAllowShowEmptyTitleInDesignMode),
|
|
39886
40035
|
/* harmony export */ initializeDesignTimeSurveyModel: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.initializeDesignTimeSurveyModel),
|
|
39887
|
-
/* harmony export */ isPropertyVisible: () => (/* reexport safe */
|
|
40036
|
+
/* harmony export */ isPropertyVisible: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.isPropertyVisible),
|
|
39888
40037
|
/* harmony export */ isStringEditable: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.isStringEditable),
|
|
39889
40038
|
/* harmony export */ isTextInput: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.isTextInput),
|
|
39890
40039
|
/* harmony export */ localization: () => (/* reexport safe */ _editorLocalization__WEBPACK_IMPORTED_MODULE_1__.editorLocalization),
|
|
39891
40040
|
/* harmony export */ logicCss: () => (/* reexport safe */ _components_tabs_logic_theme__WEBPACK_IMPORTED_MODULE_27__.logicCss),
|
|
39892
|
-
/* harmony export */ notShortCircuitAnd: () => (/* reexport safe */
|
|
40041
|
+
/* harmony export */ notShortCircuitAnd: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.notShortCircuitAnd),
|
|
39893
40042
|
/* harmony export */ parseBoxShadow: () => (/* reexport safe */ _components_tabs_theme_custom_questions_shadow_effects__WEBPACK_IMPORTED_MODULE_12__.parseBoxShadow),
|
|
39894
|
-
/* harmony export */ parseColor: () => (/* reexport safe */
|
|
39895
|
-
/* harmony export */ parseRgbaFromString: () => (/* reexport safe */
|
|
39896
|
-
/* harmony export */ propertyExists: () => (/* reexport safe */
|
|
40043
|
+
/* harmony export */ parseColor: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.parseColor),
|
|
40044
|
+
/* harmony export */ parseRgbaFromString: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.parseRgbaFromString),
|
|
40045
|
+
/* harmony export */ propertyExists: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.propertyExists),
|
|
39897
40046
|
/* harmony export */ propertyGridCss: () => (/* reexport safe */ _property_grid_theme_property_grid__WEBPACK_IMPORTED_MODULE_62__.propertyGridCss),
|
|
39898
40047
|
/* harmony export */ registerAdorner: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.registerAdorner),
|
|
39899
40048
|
/* harmony export */ removeAdorners: () => (/* reexport safe */ _creator_base__WEBPACK_IMPORTED_MODULE_4__.removeAdorners),
|
|
39900
|
-
/* harmony export */ roundTo2Decimals: () => (/* reexport safe */
|
|
39901
|
-
/* harmony export */ saveToFileHandler: () => (/* reexport safe */
|
|
39902
|
-
/* harmony export */ scrollElementIntoView: () => (/* reexport safe */
|
|
39903
|
-
/* harmony export */ select: () => (/* reexport safe */
|
|
40049
|
+
/* harmony export */ roundTo2Decimals: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.roundTo2Decimals),
|
|
40050
|
+
/* harmony export */ saveToFileHandler: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.saveToFileHandler),
|
|
40051
|
+
/* harmony export */ scrollElementIntoView: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.scrollElementIntoView),
|
|
40052
|
+
/* harmony export */ select: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.select),
|
|
39904
40053
|
/* harmony export */ setSurveyJSONForPropertyGrid: () => (/* reexport safe */ _property_grid__WEBPACK_IMPORTED_MODULE_50__.setSurveyJSONForPropertyGrid),
|
|
39905
40054
|
/* harmony export */ settings: () => (/* reexport safe */ _creator_settings__WEBPACK_IMPORTED_MODULE_2__.settings),
|
|
39906
40055
|
/* harmony export */ simulatorDevices: () => (/* reexport safe */ _components_simulator__WEBPACK_IMPORTED_MODULE_39__.simulatorDevices),
|
|
39907
40056
|
/* harmony export */ svgBundle: () => (/* reexport safe */ _svgbundle__WEBPACK_IMPORTED_MODULE_64__.svgBundle),
|
|
39908
40057
|
/* harmony export */ themeModelPropertyGridDefinition: () => (/* reexport safe */ _components_tabs_theme_model_definition__WEBPACK_IMPORTED_MODULE_18__.themeModelPropertyGridDefinition),
|
|
39909
|
-
/* harmony export */ toggleHovered: () => (/* reexport safe */
|
|
40058
|
+
/* harmony export */ toggleHovered: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.toggleHovered),
|
|
39910
40059
|
/* harmony export */ translationCss: () => (/* reexport safe */ _components_tabs_translation_theme__WEBPACK_IMPORTED_MODULE_21__.translationCss),
|
|
39911
|
-
/* harmony export */ trimEmptyFields: () => (/* reexport safe */
|
|
39912
|
-
/* harmony export */ undoRedoTransaction: () => (/* reexport safe */
|
|
40060
|
+
/* harmony export */ trimEmptyFields: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.trimEmptyFields),
|
|
40061
|
+
/* harmony export */ undoRedoTransaction: () => (/* reexport safe */ _plugins_undo_redo__WEBPACK_IMPORTED_MODULE_79__.undoRedoTransaction),
|
|
39913
40062
|
/* harmony export */ updateBackgroundCornerRadiusJSON: () => (/* reexport safe */ _components_tabs_theme_custom_questions_background_corner_radius__WEBPACK_IMPORTED_MODULE_14__.updateBackgroundCornerRadiusJSON),
|
|
39914
40063
|
/* harmony export */ updateFontSettingsJSON: () => (/* reexport safe */ _components_tabs_theme_custom_questions_font_settings__WEBPACK_IMPORTED_MODULE_13__.updateFontSettingsJSON),
|
|
39915
40064
|
/* harmony export */ updateShadowEffectsJSON: () => (/* reexport safe */ _components_tabs_theme_custom_questions_shadow_effects__WEBPACK_IMPORTED_MODULE_12__.updateShadowEffectsJSON),
|
|
39916
40065
|
/* harmony export */ updatecoloralphaJSON: () => (/* reexport safe */ _components_tabs_theme_custom_questions_color_alpha__WEBPACK_IMPORTED_MODULE_11__.updatecoloralphaJSON),
|
|
39917
|
-
/* harmony export */ wrapTextByCurlyBraces: () => (/* reexport safe */
|
|
40066
|
+
/* harmony export */ wrapTextByCurlyBraces: () => (/* reexport safe */ _utils_utils__WEBPACK_IMPORTED_MODULE_73__.wrapTextByCurlyBraces)
|
|
39918
40067
|
/* harmony export */ });
|
|
39919
40068
|
/* harmony import */ var _localization_english__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../localization/english */ "./src/localization/english.ts");
|
|
39920
40069
|
/* harmony import */ var _editorLocalization__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../editorLocalization */ "./src/editorLocalization.ts");
|
|
@@ -39984,28 +40133,29 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
39984
40133
|
/* harmony import */ var _textWorker__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ../textWorker */ "./src/textWorker.ts");
|
|
39985
40134
|
/* harmony import */ var _toolbox__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ../toolbox */ "./src/toolbox.ts");
|
|
39986
40135
|
/* harmony import */ var _components_side_bar_side_bar_model__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ../components/side-bar/side-bar-model */ "./src/components/side-bar/side-bar-model.ts");
|
|
39987
|
-
/* harmony import */ var
|
|
39988
|
-
/* harmony import */ var
|
|
39989
|
-
/* harmony import */ var
|
|
39990
|
-
/* harmony import */ var
|
|
39991
|
-
/* harmony import */ var
|
|
39992
|
-
/* harmony import */ var
|
|
39993
|
-
/* harmony import */ var
|
|
39994
|
-
/* harmony import */ var
|
|
39995
|
-
/* harmony import */ var
|
|
39996
|
-
/* harmony import */ var
|
|
39997
|
-
/* harmony import */ var
|
|
39998
|
-
/* harmony import */ var
|
|
39999
|
-
/* harmony import */ var
|
|
40000
|
-
/* harmony import */ var
|
|
40001
|
-
/* harmony import */ var
|
|
40002
|
-
/* harmony import */ var
|
|
40003
|
-
/* harmony import */ var
|
|
40004
|
-
/* harmony import */ var
|
|
40005
|
-
/* harmony import */ var
|
|
40006
|
-
/* harmony import */ var
|
|
40136
|
+
/* harmony import */ var _components_side_bar_side_bar_header_model__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ../components/side-bar/side-bar-header-model */ "./src/components/side-bar/side-bar-header-model.ts");
|
|
40137
|
+
/* harmony import */ var _components_side_bar_side_bar_page_model__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ../components/side-bar/side-bar-page-model */ "./src/components/side-bar/side-bar-page-model.ts");
|
|
40138
|
+
/* harmony import */ var _components_side_bar_tab_control_model__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ../components/side-bar/tab-control-model */ "./src/components/side-bar/tab-control-model.ts");
|
|
40139
|
+
/* harmony import */ var _components_switcher_switcher__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ../components/switcher/switcher */ "./src/components/switcher/switcher.ts");
|
|
40140
|
+
/* harmony import */ var _utils_events__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ../utils/events */ "./src/utils/events.ts");
|
|
40141
|
+
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ../utils/utils */ "./src/utils/utils.ts");
|
|
40142
|
+
/* harmony import */ var _utils_actions__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ../utils/actions */ "./src/utils/actions.ts");
|
|
40143
|
+
/* harmony import */ var _question_editor_definition__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ../question-editor/definition */ "./src/question-editor/definition.ts");
|
|
40144
|
+
/* harmony import */ var _question_editor_properties__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ../question-editor/properties */ "./src/question-editor/properties.ts");
|
|
40145
|
+
/* harmony import */ var _survey_helper__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ../survey-helper */ "./src/survey-helper.ts");
|
|
40146
|
+
/* harmony import */ var _utils_resizer__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ../utils/resizer */ "./src/utils/resizer.ts");
|
|
40147
|
+
/* harmony import */ var _plugins_undo_redo__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ../plugins/undo-redo */ "./src/plugins/undo-redo/index.ts");
|
|
40148
|
+
/* harmony import */ var _plugins_undo_redo_undo_redo_manager__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ../plugins/undo-redo/undo-redo-manager */ "./src/plugins/undo-redo/undo-redo-manager.ts");
|
|
40149
|
+
/* harmony import */ var _pages_controller__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ../pages-controller */ "./src/pages-controller.ts");
|
|
40150
|
+
/* harmony import */ var _presets_presets_base__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ../presets/presets-base */ "./src/presets/presets-base.ts");
|
|
40151
|
+
/* harmony import */ var _presets_presets__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ../presets/presets */ "./src/presets/presets.ts");
|
|
40152
|
+
/* harmony import */ var _presets_presets_properties__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ../presets/presets-properties */ "./src/presets/presets-properties.ts");
|
|
40153
|
+
/* harmony import */ var _presets_presets_tabs__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ../presets/presets-tabs */ "./src/presets/presets-tabs.ts");
|
|
40154
|
+
/* harmony import */ var _presets_presets_toolbox__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ../presets/presets-toolbox */ "./src/presets/presets-toolbox.ts");
|
|
40155
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
40156
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_87___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_87__);
|
|
40007
40157
|
var Version;
|
|
40008
|
-
Version = "".concat("1.12.
|
|
40158
|
+
Version = "".concat("1.12.3");
|
|
40009
40159
|
//should be loaded before other styles for easier override
|
|
40010
40160
|
__webpack_require__(/*! ../utils/context-button.scss */ "./src/utils/context-button.scss");
|
|
40011
40161
|
|
|
@@ -40095,6 +40245,7 @@ __webpack_require__(/*! ../utils/context-button.scss */ "./src/utils/context-but
|
|
|
40095
40245
|
|
|
40096
40246
|
|
|
40097
40247
|
|
|
40248
|
+
|
|
40098
40249
|
|
|
40099
40250
|
|
|
40100
40251
|
__webpack_require__(/*! ../components/property-panel/property-panel-item.scss */ "./src/components/property-panel/property-panel-item.scss");
|
|
@@ -40109,9 +40260,10 @@ __webpack_require__(/*! ../components/side-bar/tab-control.scss */ "./src/compon
|
|
|
40109
40260
|
__webpack_require__(/*! ../property-grid-theme/property-grid.scss */ "./src/property-grid-theme/property-grid.scss");
|
|
40110
40261
|
__webpack_require__(/*! ../utils/design.scss */ "./src/utils/design.scss");
|
|
40111
40262
|
__webpack_require__(/*! ../utils/layout.scss */ "./src/utils/layout.scss");
|
|
40263
|
+
__webpack_require__(/*! ../custom-questions/boolean-switch.scss */ "./src/custom-questions/boolean-switch.scss");
|
|
40112
40264
|
|
|
40113
|
-
|
|
40114
|
-
(0,
|
|
40265
|
+
survey_core__WEBPACK_IMPORTED_MODULE_87__.settings.supportCreatorV2 = true;
|
|
40266
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_87__.checkLibraryVersion)("".concat("1.12.3"), "survey-creator-core");
|
|
40115
40267
|
|
|
40116
40268
|
})();
|
|
40117
40269
|
|