survey-creator-core 1.12.13 → 1.12.14
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 +3 -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 +285 -221
- package/survey-creator-core.fontless.css +284 -220
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +15 -15
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js.LICENSE.txt +1 -1
- package/survey-creator-core.js +187 -112
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +16 -16
- package/survey-creator-core.min.js +1 -1
- package/survey-creator-core.min.js.LICENSE.txt +1 -1
- package/themes/default-contrast.js +40 -4
- package/themes/default-contrast.js.map +1 -1
- package/themes/default-contrast.min.js +1 -1
- package/themes/default-contrast.min.js.LICENSE.txt +1 -1
- package/themes/default-dark.js +40 -4
- package/themes/default-dark.js.map +1 -1
- package/themes/default-dark.min.js +1 -1
- package/themes/default-dark.min.js.LICENSE.txt +1 -1
- package/themes/default-light.js +40 -4
- package/themes/default-light.js.map +1 -1
- package/themes/default-light.min.js +1 -1
- package/themes/default-light.min.js.LICENSE.txt +1 -1
- package/themes/index.js +40 -4
- package/themes/index.js.map +1 -1
- package/themes/index.min.js +1 -1
- package/themes/index.min.js.LICENSE.txt +1 -1
- package/themes/themes/default.d.ts +76 -4
- package/typings/components/side-bar/side-bar-model.d.ts +2 -1
- package/typings/components/tabs/designer.d.ts +13 -1
- package/typings/creator-base.d.ts +1 -1
- package/typings/creator-options.d.ts +2 -2
- package/typings/creator-responsivity-manager.d.ts +1 -0
- package/typings/creator-theme/creator-theme-model.d.ts +0 -1
- package/typings/editorLocalization.d.ts +2 -0
- package/typings/localization/english.d.ts +2 -0
- package/typings/property-grid-theme/property-grid.d.ts +1 -0
- package/typings/themes/default.d.ts +76 -4
package/survey-creator-core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v1.12.
|
|
2
|
+
* SurveyJS Creator v1.12.14
|
|
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
|
|
@@ -2611,6 +2611,26 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
2611
2611
|
|
|
2612
2612
|
/***/ }),
|
|
2613
2613
|
|
|
2614
|
+
/***/ "./src/images-v1/zoomin-24x24.svg":
|
|
2615
|
+
/*!****************************************!*\
|
|
2616
|
+
!*** ./src/images-v1/zoomin-24x24.svg ***!
|
|
2617
|
+
\****************************************/
|
|
2618
|
+
/***/ ((module) => {
|
|
2619
|
+
|
|
2620
|
+
module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M22.71 21.29L17.03 15.61C18.26 14.07 19 12.12 19 10C19 5.04 14.96 1 10 1C5.04 1 1 5.04 1 10C1 14.96 5.04 19 10 19C12.12 19 14.07 18.26 15.61 17.03L21.29 22.71L22.7 21.3L22.71 21.29ZM3 10C3 6.14 6.14 3 10 3C13.86 3 17 6.14 17 10C17 13.86 13.86 17 10 17C6.14 17 3 13.86 3 10ZM11 9H14V11H11V14H9V11H6V9H9V6H11V9Z\"></path></svg>"
|
|
2621
|
+
|
|
2622
|
+
/***/ }),
|
|
2623
|
+
|
|
2624
|
+
/***/ "./src/images-v1/zoomout-24x24.svg":
|
|
2625
|
+
/*!*****************************************!*\
|
|
2626
|
+
!*** ./src/images-v1/zoomout-24x24.svg ***!
|
|
2627
|
+
\*****************************************/
|
|
2628
|
+
/***/ ((module) => {
|
|
2629
|
+
|
|
2630
|
+
module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M22.71 21.29L17.03 15.61C18.26 14.07 19 12.12 19 10C19 5.04 14.96 1 10 1C5.04 1 1 5.04 1 10C1 14.96 5.04 19 10 19C12.12 19 14.07 18.26 15.61 17.03L21.29 22.71L22.7 21.3L22.71 21.29ZM3 10C3 6.14 6.14 3 10 3C13.86 3 17 6.14 17 10C17 13.86 13.86 17 10 17C6.14 17 3 13.86 3 10ZM6 9H14V11H6V9Z\"></path></svg>"
|
|
2631
|
+
|
|
2632
|
+
/***/ }),
|
|
2633
|
+
|
|
2614
2634
|
/***/ "./src/images-v2/add-16x16.svg":
|
|
2615
2635
|
/*!*************************************!*\
|
|
2616
2636
|
!*** ./src/images-v2/add-16x16.svg ***!
|
|
@@ -4611,6 +4631,26 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
4611
4631
|
|
|
4612
4632
|
/***/ }),
|
|
4613
4633
|
|
|
4634
|
+
/***/ "./src/images-v2/zoomin-24x24.svg":
|
|
4635
|
+
/*!****************************************!*\
|
|
4636
|
+
!*** ./src/images-v2/zoomin-24x24.svg ***!
|
|
4637
|
+
\****************************************/
|
|
4638
|
+
/***/ ((module) => {
|
|
4639
|
+
|
|
4640
|
+
module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M21.53 20.47L15.98 14.92C17.08 13.58 17.75 11.87 17.75 10C17.75 5.73 14.27 2.25 10 2.25C5.73 2.25 2.25 5.73 2.25 10C2.25 14.27 5.73 17.75 10 17.75C11.87 17.75 13.58 17.09 14.92 15.98L20.47 21.53C20.62 21.68 20.81 21.75 21 21.75C21.19 21.75 21.38 21.68 21.53 21.53C21.82 21.24 21.82 20.76 21.53 20.47ZM3.75 10C3.75 6.55 6.55 3.75 10 3.75C13.45 3.75 16.25 6.55 16.25 10C16.25 13.45 13.45 16.25 10 16.25C6.55 16.25 3.75 13.45 3.75 10ZM13.75 10C13.75 10.41 13.41 10.75 13 10.75H10.75V13C10.75 13.41 10.41 13.75 10 13.75C9.59 13.75 9.25 13.41 9.25 13V10.75H7C6.59 10.75 6.25 10.41 6.25 10C6.25 9.59 6.59 9.25 7 9.25H9.25V7C9.25 6.59 9.59 6.25 10 6.25C10.41 6.25 10.75 6.59 10.75 7V9.25H13C13.41 9.25 13.75 9.59 13.75 10Z\"></path></svg>"
|
|
4641
|
+
|
|
4642
|
+
/***/ }),
|
|
4643
|
+
|
|
4644
|
+
/***/ "./src/images-v2/zoomout-24x24.svg":
|
|
4645
|
+
/*!*****************************************!*\
|
|
4646
|
+
!*** ./src/images-v2/zoomout-24x24.svg ***!
|
|
4647
|
+
\*****************************************/
|
|
4648
|
+
/***/ ((module) => {
|
|
4649
|
+
|
|
4650
|
+
module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M21.53 20.47L15.98 14.92C17.08 13.58 17.75 11.87 17.75 10C17.75 5.73 14.27 2.25 10 2.25C5.73 2.25 2.25 5.73 2.25 10C2.25 14.27 5.73 17.75 10 17.75C11.87 17.75 13.58 17.09 14.92 15.98L20.47 21.53C20.62 21.68 20.81 21.75 21 21.75C21.19 21.75 21.38 21.68 21.53 21.53C21.82 21.24 21.82 20.76 21.53 20.47ZM10 16.25C6.55 16.25 3.75 13.45 3.75 10C3.75 6.55 6.55 3.75 10 3.75C13.45 3.75 16.25 6.55 16.25 10C16.25 13.45 13.45 16.25 10 16.25ZM13.75 10C13.75 10.41 13.41 10.75 13 10.75H7C6.59 10.75 6.25 10.41 6.25 10C6.25 9.59 6.59 9.25 7 9.25H13C13.41 9.25 13.75 9.59 13.75 10Z\"></path></svg>"
|
|
4651
|
+
|
|
4652
|
+
/***/ }),
|
|
4653
|
+
|
|
4614
4654
|
/***/ "./src/components/action-container-view-model.ts":
|
|
4615
4655
|
/*!*******************************************************!*\
|
|
4616
4656
|
!*** ./src/components/action-container-view-model.ts ***!
|
|
@@ -8801,6 +8841,15 @@ var SidebarModel = /** @class */ (function (_super) {
|
|
|
8801
8841
|
SidebarModel.prototype.getCurrentHandles = function () {
|
|
8802
8842
|
return this.creator.sidebarLocation == "right" ? "w" : "e";
|
|
8803
8843
|
};
|
|
8844
|
+
Object.defineProperty(SidebarModel.prototype, "activePage", {
|
|
8845
|
+
get: function () { return this.getPropertyValue("activePage"); },
|
|
8846
|
+
set: function (val) {
|
|
8847
|
+
this.setPropertyValue("activePage", val);
|
|
8848
|
+
this.setActivePage(this.pages.filter(function (page) { return page.id === val; })[0]);
|
|
8849
|
+
},
|
|
8850
|
+
enumerable: false,
|
|
8851
|
+
configurable: true
|
|
8852
|
+
});
|
|
8804
8853
|
SidebarModel.prototype.getActivePage = function () {
|
|
8805
8854
|
return this._activePage;
|
|
8806
8855
|
};
|
|
@@ -8886,13 +8935,6 @@ var SidebarModel = /** @class */ (function (_super) {
|
|
|
8886
8935
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
8887
8936
|
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)({ defaultValue: false })
|
|
8888
8937
|
], SidebarModel.prototype, "flyoutMode", void 0);
|
|
8889
|
-
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
8890
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)({
|
|
8891
|
-
onSet: function (val, target) {
|
|
8892
|
-
target.setActivePage(target.pages.filter(function (page) { return page.id === val; })[0]);
|
|
8893
|
-
}
|
|
8894
|
-
})
|
|
8895
|
-
], SidebarModel.prototype, "activePage", void 0);
|
|
8896
8938
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
8897
8939
|
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
8898
8940
|
], SidebarModel.prototype, "hideSideBarVisibilityControlActions", void 0);
|
|
@@ -10751,6 +10793,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10751
10793
|
/* harmony import */ var _survey_helper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../survey-helper */ "./src/survey-helper.ts");
|
|
10752
10794
|
/* harmony import */ var _survey_elements__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../survey-elements */ "./src/survey-elements.ts");
|
|
10753
10795
|
/* harmony import */ var _action_container_view_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../action-container-view-model */ "./src/components/action-container-view-model.ts");
|
|
10796
|
+
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/utils */ "./src/utils/utils.ts");
|
|
10797
|
+
/* harmony import */ var _designTabSurveyThemeJSON__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../designTabSurveyThemeJSON */ "./src/designTabSurveyThemeJSON.ts");
|
|
10798
|
+
|
|
10799
|
+
|
|
10754
10800
|
|
|
10755
10801
|
|
|
10756
10802
|
|
|
@@ -10764,6 +10810,20 @@ var TabDesignerViewModel = /** @class */ (function (_super) {
|
|
|
10764
10810
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(TabDesignerViewModel, _super);
|
|
10765
10811
|
function TabDesignerViewModel(creator) {
|
|
10766
10812
|
var _this = _super.call(this) || this;
|
|
10813
|
+
_this.minSurfaceScaling = 20;
|
|
10814
|
+
_this.maxSurfaceScaling = 200;
|
|
10815
|
+
_this.scaleCssVariables = {};
|
|
10816
|
+
_this.surfaceScale = 100;
|
|
10817
|
+
_this.unitDictionary = {
|
|
10818
|
+
"--ctr-surface-base-unit": 8,
|
|
10819
|
+
"--lbr-font-unit": 8,
|
|
10820
|
+
"--lbr-line-height-unit": 8,
|
|
10821
|
+
"--lbr-size-unit": 8,
|
|
10822
|
+
"--lbr-spacing-unit": 8,
|
|
10823
|
+
"--lbr-corner-radius-unit": 8,
|
|
10824
|
+
"--lbr-stroke-unit": 1,
|
|
10825
|
+
};
|
|
10826
|
+
_this.surveyThemeVariables = {};
|
|
10767
10827
|
_this._pages = [];
|
|
10768
10828
|
_this.pagesAnimation = new survey_core__WEBPACK_IMPORTED_MODULE_1__.AnimationGroup(_this.getPagesAnimationOptions(), function (val) {
|
|
10769
10829
|
_this._pages = val;
|
|
@@ -10771,8 +10831,14 @@ var TabDesignerViewModel = /** @class */ (function (_super) {
|
|
|
10771
10831
|
}, function () { return _this._pages; });
|
|
10772
10832
|
_this.creator = creator;
|
|
10773
10833
|
_this.pagesControllerValue = new _pages_controller__WEBPACK_IMPORTED_MODULE_3__.PagesController(creator);
|
|
10774
|
-
_this.
|
|
10834
|
+
_this.creator.dragDropChoices.onShortcutCreated = function (shortcut) {
|
|
10835
|
+
Object.keys(_this.surveyThemeVariables).forEach(function (key) {
|
|
10836
|
+
shortcut.style.setProperty(key, _this.surveyThemeVariables[key]);
|
|
10837
|
+
});
|
|
10838
|
+
};
|
|
10839
|
+
_this.initSurfaceToolbar();
|
|
10775
10840
|
_this.initSurvey();
|
|
10841
|
+
_this.updateDesignTabSurveyThemeVariables();
|
|
10776
10842
|
return _this;
|
|
10777
10843
|
}
|
|
10778
10844
|
Object.defineProperty(TabDesignerViewModel.prototype, "displayPageDropTarget", {
|
|
@@ -10828,7 +10894,15 @@ var TabDesignerViewModel = /** @class */ (function (_super) {
|
|
|
10828
10894
|
TabDesignerViewModel.prototype.isModifiedPage = function (page) {
|
|
10829
10895
|
return Object.keys(page.toJSON()).filter(function (key) { return key !== "name"; }).length > 0;
|
|
10830
10896
|
};
|
|
10831
|
-
TabDesignerViewModel.prototype.
|
|
10897
|
+
TabDesignerViewModel.prototype.updateDesignTabSurveyThemeVariables = function () {
|
|
10898
|
+
var cssVariables = {};
|
|
10899
|
+
(0,_utils_utils__WEBPACK_IMPORTED_MODULE_7__.assign)(cssVariables, _designTabSurveyThemeJSON__WEBPACK_IMPORTED_MODULE_8__["default"].cssVariables, this.scaleCssVariables, {
|
|
10900
|
+
"--sjs-base-unit": "var(--ctr-surface-base-unit)",
|
|
10901
|
+
"--sjs-font-size": "calc(2 * var(--ctr-surface-base-unit))",
|
|
10902
|
+
});
|
|
10903
|
+
this.surveyThemeVariables = cssVariables;
|
|
10904
|
+
};
|
|
10905
|
+
TabDesignerViewModel.prototype.initSurfaceToolbar = function () {
|
|
10832
10906
|
var _this = this;
|
|
10833
10907
|
this.surfaceToolbar = new survey_core__WEBPACK_IMPORTED_MODULE_1__.ActionContainer();
|
|
10834
10908
|
var defaultActionBarCss = {
|
|
@@ -10844,28 +10918,63 @@ var TabDesignerViewModel = /** @class */ (function (_super) {
|
|
|
10844
10918
|
itemTitleWithIcon: "",
|
|
10845
10919
|
};
|
|
10846
10920
|
this.surfaceToolbar.cssClasses = defaultActionBarCss;
|
|
10847
|
-
|
|
10848
|
-
|
|
10849
|
-
|
|
10850
|
-
|
|
10851
|
-
|
|
10852
|
-
|
|
10853
|
-
}, {
|
|
10854
|
-
id: "expandAll",
|
|
10855
|
-
locTooltipName: "ed.expandAllTooltip",
|
|
10856
|
-
iconName: "icon-expandall-24x24",
|
|
10921
|
+
var surfaceToolbarItems = [];
|
|
10922
|
+
if (this.creator.showCreatorThemeSettings) {
|
|
10923
|
+
surfaceToolbarItems.push({
|
|
10924
|
+
id: "zoomIn",
|
|
10925
|
+
locTooltipName: "ed.zoomInTooltip",
|
|
10926
|
+
iconName: "icon-zoomin-24x24",
|
|
10857
10927
|
iconSize: "auto",
|
|
10858
|
-
action: function () {
|
|
10859
|
-
}
|
|
10860
|
-
|
|
10861
|
-
|
|
10862
|
-
|
|
10928
|
+
action: function () { _this.scalingSurface(_this.surfaceScale + 10); }
|
|
10929
|
+
});
|
|
10930
|
+
surfaceToolbarItems.push({
|
|
10931
|
+
id: "zoomOut",
|
|
10932
|
+
locTooltipName: "ed.zoomOutTooltip",
|
|
10933
|
+
iconName: "icon-zoomout-24x24",
|
|
10863
10934
|
iconSize: "auto",
|
|
10864
|
-
action: function (
|
|
10865
|
-
|
|
10866
|
-
|
|
10867
|
-
|
|
10868
|
-
|
|
10935
|
+
action: function () { _this.scalingSurface(_this.surfaceScale - 10); }
|
|
10936
|
+
});
|
|
10937
|
+
}
|
|
10938
|
+
surfaceToolbarItems.push({
|
|
10939
|
+
id: "collapseAll",
|
|
10940
|
+
locTooltipName: "ed.collapseAllTooltip",
|
|
10941
|
+
iconName: "icon-collapseall-24x24",
|
|
10942
|
+
iconSize: "auto",
|
|
10943
|
+
needSeparator: this.creator.showCreatorThemeSettings,
|
|
10944
|
+
visible: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () { return _this.creator.expandCollapseButtonVisibility != "never"; }),
|
|
10945
|
+
action: function () { return _this.creator.expandCollapseManager.expandCollapseElements("collapse-all", true); }
|
|
10946
|
+
});
|
|
10947
|
+
surfaceToolbarItems.push({
|
|
10948
|
+
id: "expandAll",
|
|
10949
|
+
locTooltipName: "ed.expandAllTooltip",
|
|
10950
|
+
iconName: "icon-expandall-24x24",
|
|
10951
|
+
iconSize: "auto",
|
|
10952
|
+
visible: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () { return _this.creator.expandCollapseButtonVisibility != "never"; }),
|
|
10953
|
+
action: function () { return _this.creator.expandCollapseManager.expandCollapseElements("expand-all", false); }
|
|
10954
|
+
});
|
|
10955
|
+
surfaceToolbarItems.push({
|
|
10956
|
+
id: "lockQuestions",
|
|
10957
|
+
locTooltipName: "ed.lockQuestionsTooltip",
|
|
10958
|
+
iconName: "icon-questionlock-24x24",
|
|
10959
|
+
iconSize: "auto",
|
|
10960
|
+
visible: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () { return _this.creator.expandCollapseButtonVisibility != "never"; }),
|
|
10961
|
+
action: function (action) {
|
|
10962
|
+
action.active = !action.active;
|
|
10963
|
+
_this.creator.expandCollapseManager.lockQuestions(action.active);
|
|
10964
|
+
}
|
|
10965
|
+
});
|
|
10966
|
+
this.surfaceToolbar.setItems(surfaceToolbarItems);
|
|
10967
|
+
};
|
|
10968
|
+
TabDesignerViewModel.prototype.scalingSurface = function (scaleFactor) {
|
|
10969
|
+
var _this = this;
|
|
10970
|
+
if (scaleFactor <= this.minSurfaceScaling || scaleFactor >= this.maxSurfaceScaling)
|
|
10971
|
+
return;
|
|
10972
|
+
this.surfaceScale = scaleFactor;
|
|
10973
|
+
this.creator.setDesignerSurveyScale(scaleFactor);
|
|
10974
|
+
Object.keys(this.unitDictionary).forEach(function (key) {
|
|
10975
|
+
_this.scaleCssVariables[key] = (_this.unitDictionary[key] * scaleFactor / 100) + "px";
|
|
10976
|
+
});
|
|
10977
|
+
this.updateDesignTabSurveyThemeVariables();
|
|
10869
10978
|
};
|
|
10870
10979
|
Object.defineProperty(TabDesignerViewModel.prototype, "survey", {
|
|
10871
10980
|
get: function () {
|
|
@@ -10917,7 +11026,7 @@ var TabDesignerViewModel = /** @class */ (function (_super) {
|
|
|
10917
11026
|
});
|
|
10918
11027
|
Object.defineProperty(TabDesignerViewModel.prototype, "hasToolbar", {
|
|
10919
11028
|
get: function () {
|
|
10920
|
-
return this.creator.expandCollapseButtonVisibility != "never";
|
|
11029
|
+
return this.creator.expandCollapseButtonVisibility != "never" || this.creator.showCreatorThemeSettings;
|
|
10921
11030
|
},
|
|
10922
11031
|
enumerable: false,
|
|
10923
11032
|
configurable: true
|
|
@@ -11087,6 +11196,9 @@ var TabDesignerViewModel = /** @class */ (function (_super) {
|
|
|
11087
11196
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
11088
11197
|
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
11089
11198
|
], TabDesignerViewModel.prototype, "showPlaceholder", void 0);
|
|
11199
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
11200
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)({ defaultValue: {} })
|
|
11201
|
+
], TabDesignerViewModel.prototype, "surveyThemeVariables", void 0);
|
|
11090
11202
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
11091
11203
|
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.propertyArray)()
|
|
11092
11204
|
], TabDesignerViewModel.prototype, "_pages", void 0);
|
|
@@ -16159,7 +16271,6 @@ var PreviewViewModel = /** @class */ (function (_super) {
|
|
|
16159
16271
|
if (!page.isVisible) {
|
|
16160
16272
|
pageItem.css = "svc-page-invisible";
|
|
16161
16273
|
pageItem.markerIconName = "icon-invisible-items";
|
|
16162
|
-
pageItem.markerIconSize = 24;
|
|
16163
16274
|
}
|
|
16164
16275
|
pages.push(pageItem);
|
|
16165
16276
|
}
|
|
@@ -22975,8 +23086,8 @@ var SurveyCreatorModel = /** @class */ (function (_super) {
|
|
|
22975
23086
|
_this.initSurveyWithJSON(undefined, false);
|
|
22976
23087
|
_this.toolbox = new _toolbox__WEBPACK_IMPORTED_MODULE_7__.QuestionToolbox(_this.options && _this.options.questionTypes ? _this.options.questionTypes : null, _this, true);
|
|
22977
23088
|
_this.updateToolboxIsCompact();
|
|
22978
|
-
_this.initTabs();
|
|
22979
23089
|
_this.initDragDrop();
|
|
23090
|
+
_this.initTabs();
|
|
22980
23091
|
_this.syncSaveButtons = _this.options.saveSurveyAndTheme !== undefined ? _this.options.saveSurveyAndTheme : _this.options.syncSaveButtons;
|
|
22981
23092
|
_this.isTouch = survey_core__WEBPACK_IMPORTED_MODULE_1__.IsTouch;
|
|
22982
23093
|
var expandAction = _this.sidebar.getExpandAction();
|
|
@@ -24248,11 +24359,6 @@ var SurveyCreatorModel = /** @class */ (function (_super) {
|
|
|
24248
24359
|
_this.stopUndoRedoTransaction();
|
|
24249
24360
|
_this.selectElement(options.draggedElement, undefined, false);
|
|
24250
24361
|
});
|
|
24251
|
-
this.dragDropChoices.onShortcutCreated = function (shortcut) {
|
|
24252
|
-
Object.keys(_this.designTabSurveyThemeVariables).forEach(function (key) {
|
|
24253
|
-
shortcut.style.setProperty(key, _this.designTabSurveyThemeVariables[key]);
|
|
24254
|
-
});
|
|
24255
|
-
};
|
|
24256
24362
|
};
|
|
24257
24363
|
SurveyCreatorModel.prototype.updateElementsOnLocaleChanged = function (obj, propertyName) {
|
|
24258
24364
|
if (obj.getType() !== "survey" || propertyName !== "locale")
|
|
@@ -24489,18 +24595,6 @@ var SurveyCreatorModel = /** @class */ (function (_super) {
|
|
|
24489
24595
|
enumerable: false,
|
|
24490
24596
|
configurable: true
|
|
24491
24597
|
});
|
|
24492
|
-
Object.defineProperty(SurveyCreatorModel.prototype, "designTabSurveyThemeVariables", {
|
|
24493
|
-
get: function () {
|
|
24494
|
-
var cssVariables = {};
|
|
24495
|
-
(0,_utils_utils__WEBPACK_IMPORTED_MODULE_8__.assign)(cssVariables, _designTabSurveyThemeJSON__WEBPACK_IMPORTED_MODULE_26__["default"].cssVariables, {
|
|
24496
|
-
"--sjs-base-unit": "var(--ctr-surface-base-unit)",
|
|
24497
|
-
"--sjs-font-size": "calc(2 * var(--ctr-surface-base-unit))",
|
|
24498
|
-
});
|
|
24499
|
-
return cssVariables;
|
|
24500
|
-
},
|
|
24501
|
-
enumerable: false,
|
|
24502
|
-
configurable: true
|
|
24503
|
-
});
|
|
24504
24598
|
SurveyCreatorModel.prototype.getSurveyJSON = function () {
|
|
24505
24599
|
if (this.viewType != "editor") {
|
|
24506
24600
|
return new survey_core__WEBPACK_IMPORTED_MODULE_1__.JsonObject().toJsonObject(this.survey);
|
|
@@ -26040,6 +26134,13 @@ var SurveyCreatorModel = /** @class */ (function (_super) {
|
|
|
26040
26134
|
this.responsivityManager = undefined;
|
|
26041
26135
|
}
|
|
26042
26136
|
};
|
|
26137
|
+
SurveyCreatorModel.prototype.setDesignerSurveyScale = function (scale) {
|
|
26138
|
+
var _a;
|
|
26139
|
+
if (scale <= 0)
|
|
26140
|
+
return;
|
|
26141
|
+
(_a = this.responsivityManager) === null || _a === void 0 ? void 0 : _a.updateSurveyActualWidth();
|
|
26142
|
+
this.survey.widthScale = scale;
|
|
26143
|
+
};
|
|
26043
26144
|
Object.defineProperty(SurveyCreatorModel.prototype, "showPageNavigator", {
|
|
26044
26145
|
get: function () {
|
|
26045
26146
|
return this.showPageNavigatorValue && this.allowShowPageNavigator;
|
|
@@ -26574,6 +26675,7 @@ var CreatorResponsivityManager = /** @class */ (function () {
|
|
|
26574
26675
|
this.creator.sidebar.blockAnimations();
|
|
26575
26676
|
this.creator.toolbox.blockAnimations();
|
|
26576
26677
|
}
|
|
26678
|
+
this.updateSurveyActualWidth();
|
|
26577
26679
|
this.currentWidth = this.getScreenWidth();
|
|
26578
26680
|
if (this.currentWidth === "xl" || this.currentWidth === "xxl") {
|
|
26579
26681
|
this._process(false, true, false);
|
|
@@ -26598,6 +26700,15 @@ var CreatorResponsivityManager = /** @class */ (function () {
|
|
|
26598
26700
|
this.creator.toolbox.releaseAnimations();
|
|
26599
26701
|
}
|
|
26600
26702
|
};
|
|
26703
|
+
CreatorResponsivityManager.prototype.updateSurveyActualWidth = function () {
|
|
26704
|
+
var _a;
|
|
26705
|
+
if (!!this.container && !!this.container.querySelector) {
|
|
26706
|
+
var surveyContainer = (_a = this.container) === null || _a === void 0 ? void 0 : _a.querySelector(".svc-tab-designer_content > div");
|
|
26707
|
+
if (!!surveyContainer) {
|
|
26708
|
+
this.creator.survey.setResponsiveStartWidth(surveyContainer.offsetWidth);
|
|
26709
|
+
}
|
|
26710
|
+
}
|
|
26711
|
+
};
|
|
26601
26712
|
CreatorResponsivityManager.prototype.dispose = function () {
|
|
26602
26713
|
this.creator.allowShowToolbox = true;
|
|
26603
26714
|
this.creator.allowShowPageNavigator = true;
|
|
@@ -26915,7 +27026,6 @@ var creatorThemeModelProperties = {
|
|
|
26915
27026
|
{ name: "--sjs-secondary-background-500", index: 20, tab: "accentColors" },
|
|
26916
27027
|
{ name: "fontScale", index: 40, tab: "scaling" },
|
|
26917
27028
|
{ name: "scale", index: 50, tab: "scaling" },
|
|
26918
|
-
{ name: "surfaceScale", index: 60, tab: "scaling" },
|
|
26919
27029
|
],
|
|
26920
27030
|
tabs: [
|
|
26921
27031
|
{ name: "accentColors", "parent": "general", index: 20 },
|
|
@@ -26982,19 +27092,12 @@ var CreatorThemeModel = /** @class */ (function (_super) {
|
|
|
26982
27092
|
_this.secondaryColorCalculator = new _utils_utils__WEBPACK_IMPORTED_MODULE_3__.ColorCalculator();
|
|
26983
27093
|
_this.backgroundColorCalculator = new _utils_utils__WEBPACK_IMPORTED_MODULE_3__.ColorCalculator();
|
|
26984
27094
|
_this.unitDictionary = {
|
|
26985
|
-
"--ctr-surface-base-unit": 8,
|
|
26986
27095
|
"--ctr-font-unit": 8,
|
|
26987
27096
|
"--ctr-line-height-unit": 8,
|
|
26988
27097
|
"--ctr-size-unit": 8,
|
|
26989
27098
|
"--ctr-spacing-unit": 8,
|
|
26990
27099
|
"--ctr-corner-radius-unit": 8,
|
|
26991
27100
|
"--ctr-stroke-unit": 1,
|
|
26992
|
-
"--lbr-font-unit": 8,
|
|
26993
|
-
"--lbr-line-height-unit": 8,
|
|
26994
|
-
"--lbr-size-unit": 8,
|
|
26995
|
-
"--lbr-spacing-unit": 8,
|
|
26996
|
-
"--lbr-corner-radius-unit": 8,
|
|
26997
|
-
"--lbr-stroke-unit": 1,
|
|
26998
27101
|
};
|
|
26999
27102
|
_this.themeName = CreatorThemeModel.defautlThemeName;
|
|
27000
27103
|
_this.isLight = true;
|
|
@@ -27103,7 +27206,7 @@ var CreatorThemeModel = /** @class */ (function (_super) {
|
|
|
27103
27206
|
else if (name.indexOf("--") === 0) {
|
|
27104
27207
|
this.setThemeCssVariablesChanges(name, newValue);
|
|
27105
27208
|
}
|
|
27106
|
-
else if (name == "fontScale" || name == "scale"
|
|
27209
|
+
else if (name == "fontScale" || name == "scale") {
|
|
27107
27210
|
this.scalePropertiesChanged(name, newValue);
|
|
27108
27211
|
}
|
|
27109
27212
|
};
|
|
@@ -27117,15 +27220,6 @@ var CreatorThemeModel = /** @class */ (function (_super) {
|
|
|
27117
27220
|
this.scalingProperties("--ctr-spacing-unit", newValue);
|
|
27118
27221
|
this.scalingProperties("--ctr-corner-radius-unit", newValue);
|
|
27119
27222
|
}
|
|
27120
|
-
else if (propertyName == "surfaceScale") {
|
|
27121
|
-
this.scalingProperties("--ctr-surface-base-unit", newValue);
|
|
27122
|
-
this.scalingProperties("--lbr-font-unit", newValue);
|
|
27123
|
-
this.scalingProperties("--lbr-line-height-unit", newValue);
|
|
27124
|
-
this.scalingProperties("--lbr-size-unit", newValue);
|
|
27125
|
-
this.scalingProperties("--lbr-spacing-unit", newValue);
|
|
27126
|
-
this.scalingProperties("--lbr-corner-radius-unit", newValue);
|
|
27127
|
-
this.scalingProperties("--lbr-stroke-unit", newValue);
|
|
27128
|
-
}
|
|
27129
27223
|
};
|
|
27130
27224
|
CreatorThemeModel.prototype.scalingProperties = function (cssName, newValue) {
|
|
27131
27225
|
var baseUnit = this.unitDictionary[cssName];
|
|
@@ -27145,15 +27239,6 @@ var CreatorThemeModel = /** @class */ (function (_super) {
|
|
|
27145
27239
|
this.scaleValue("--ctr-spacing-unit", this.scale);
|
|
27146
27240
|
this.scaleValue("--ctr-corner-radius-unit", this.scale);
|
|
27147
27241
|
}
|
|
27148
|
-
if (this.surfaceScale !== undefined) {
|
|
27149
|
-
this.scaleValue("--ctr-surface-base-unit", this.surfaceScale);
|
|
27150
|
-
this.scaleValue("--lbr-font-unit", this.surfaceScale);
|
|
27151
|
-
this.scaleValue("--lbr-line-height-unit", this.surfaceScale);
|
|
27152
|
-
this.scaleValue("--lbr-size-unit", this.surfaceScale);
|
|
27153
|
-
this.scaleValue("--lbr-spacing-unit", this.surfaceScale);
|
|
27154
|
-
this.scaleValue("--lbr-corner-radius-unit", this.surfaceScale);
|
|
27155
|
-
this.scaleValue("--lbr-stroke-unit", this.surfaceScale);
|
|
27156
|
-
}
|
|
27157
27242
|
};
|
|
27158
27243
|
CreatorThemeModel.prototype.getScaleFactor = function (cssName) {
|
|
27159
27244
|
return !!this[cssName] ? (0,_utils_utils__WEBPACK_IMPORTED_MODULE_3__.roundTo2Decimals)(parseFloat(this[cssName]) * 100 / this.unitDictionary[cssName]) : undefined;
|
|
@@ -27163,7 +27248,6 @@ var CreatorThemeModel = /** @class */ (function (_super) {
|
|
|
27163
27248
|
try {
|
|
27164
27249
|
this.fontScale = this.getScaleFactor("--ctr-font-unit");
|
|
27165
27250
|
this.scale = this.getScaleFactor("--ctr-size-unit");
|
|
27166
|
-
this.surfaceScale = this.getScaleFactor("--ctr-surface-base-unit");
|
|
27167
27251
|
}
|
|
27168
27252
|
finally {
|
|
27169
27253
|
this.blockThemeChangedNotifications -= 1;
|
|
@@ -27242,9 +27326,6 @@ var CreatorThemeModel = /** @class */ (function (_super) {
|
|
|
27242
27326
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
27243
27327
|
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
27244
27328
|
], CreatorThemeModel.prototype, "fontScale", void 0);
|
|
27245
|
-
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
27246
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
27247
|
-
], CreatorThemeModel.prototype, "surfaceScale", void 0);
|
|
27248
27329
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
27249
27330
|
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)()
|
|
27250
27331
|
], CreatorThemeModel.prototype, "isLight", void 0);
|
|
@@ -27375,28 +27456,6 @@ survey_core__WEBPACK_IMPORTED_MODULE_1__.Serializer.addProperties("creatortheme"
|
|
|
27375
27456
|
editor.descriptionLocation = "hidden";
|
|
27376
27457
|
}
|
|
27377
27458
|
}
|
|
27378
|
-
}, {
|
|
27379
|
-
name: "--ctr-surface-base-unit",
|
|
27380
|
-
default: "8px",
|
|
27381
|
-
visible: false,
|
|
27382
|
-
}, {
|
|
27383
|
-
type: "spinedit",
|
|
27384
|
-
name: "surfaceScale",
|
|
27385
|
-
isSerializable: false,
|
|
27386
|
-
default: 100,
|
|
27387
|
-
enableIf: function (obj) {
|
|
27388
|
-
return !obj || obj.themeName !== CreatorThemeModel.defautlThemeName;
|
|
27389
|
-
},
|
|
27390
|
-
onPropertyEditorUpdate: function (obj, editor) {
|
|
27391
|
-
if (!!editor) {
|
|
27392
|
-
editor.unit = "%";
|
|
27393
|
-
editor.min = 0;
|
|
27394
|
-
editor.step = 5;
|
|
27395
|
-
editor.title = (0,_editorLocalization__WEBPACK_IMPORTED_MODULE_2__.getLocString)("creatortheme.surfaceScale");
|
|
27396
|
-
editor.titleLocation = "left";
|
|
27397
|
-
editor.descriptionLocation = "hidden";
|
|
27398
|
-
}
|
|
27399
|
-
}
|
|
27400
27459
|
}, {
|
|
27401
27460
|
name: "isLight:boolean",
|
|
27402
27461
|
visible: false,
|
|
@@ -30054,6 +30113,8 @@ var enStrings = {
|
|
|
30054
30113
|
redoTooltip: "Redo the change",
|
|
30055
30114
|
expandAllTooltip: "Expand All",
|
|
30056
30115
|
collapseAllTooltip: "Collapse All",
|
|
30116
|
+
zoomInTooltip: "Zoom In",
|
|
30117
|
+
zoomOutTooltip: "Zoom Out",
|
|
30057
30118
|
lockQuestionsTooltip: "Lock expand/collapse state for questions",
|
|
30058
30119
|
showMoreChoices: "Show more",
|
|
30059
30120
|
showLessChoices: "Show less",
|
|
@@ -33031,6 +33092,7 @@ var propertyGridCss = {
|
|
|
33031
33092
|
popup: "spg-dropdown-popup svc-creator-popup",
|
|
33032
33093
|
small: "spg-row__question--small sd-row__question--small",
|
|
33033
33094
|
control: "spg-input spg-dropdown sd-input sd-dropdown",
|
|
33095
|
+
controlEmpty: "spg-dropdown--empty sd-dropdown--empty",
|
|
33034
33096
|
controlValue: "sd-dropdown__value spg-dropdown__value",
|
|
33035
33097
|
filterStringInput: "sd-dropdown__filter-string-input spg-dropdown__filter-string-input",
|
|
33036
33098
|
other: "spg-comment spg-question__other",
|
|
@@ -37436,6 +37498,7 @@ var PropertyGridEditorMatrix = /** @class */ (function (_super) {
|
|
|
37436
37498
|
if (!!showDetailAction) {
|
|
37437
37499
|
showDetailAction.component = "sv-action-bar-item";
|
|
37438
37500
|
showDetailAction.iconName = this.getShowDetailActionIconName(row);
|
|
37501
|
+
showDetailAction.iconSize = "auto";
|
|
37439
37502
|
showDetailAction.showTitle = false;
|
|
37440
37503
|
showDetailAction.location = "end";
|
|
37441
37504
|
showDetailAction.ariaExpanded = row.isDetailPanelShowing;
|
|
@@ -37464,6 +37527,7 @@ var PropertyGridEditorMatrix = /** @class */ (function (_super) {
|
|
|
37464
37527
|
options.titleActions.push({
|
|
37465
37528
|
id: "add-item",
|
|
37466
37529
|
iconName: "icon-add",
|
|
37530
|
+
iconSize: "auto",
|
|
37467
37531
|
title: question.addRowText,
|
|
37468
37532
|
showTitle: false,
|
|
37469
37533
|
action: function () { return _this.addItem(creator, obj, question); },
|
|
@@ -38840,7 +38904,7 @@ var SearchManagerPropertyGrid = /** @class */ (function (_super) {
|
|
|
38840
38904
|
component: "sv-action-bar-item",
|
|
38841
38905
|
title: (0,_editorLocalization__WEBPACK_IMPORTED_MODULE_2__.getLocString)("ed.nextFocus"),
|
|
38842
38906
|
showTitle: false,
|
|
38843
|
-
iconSize:
|
|
38907
|
+
iconSize: "auto",
|
|
38844
38908
|
innerCss: "svc-search__bar-item",
|
|
38845
38909
|
visible: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () { return _this.allMatches.length > 1; }),
|
|
38846
38910
|
action: function () {
|
|
@@ -38855,7 +38919,7 @@ var SearchManagerPropertyGrid = /** @class */ (function (_super) {
|
|
|
38855
38919
|
component: "sv-action-bar-item",
|
|
38856
38920
|
title: (0,_editorLocalization__WEBPACK_IMPORTED_MODULE_2__.getLocString)("ed.prevFocus"),
|
|
38857
38921
|
showTitle: false,
|
|
38858
|
-
iconSize:
|
|
38922
|
+
iconSize: "auto",
|
|
38859
38923
|
innerCss: "svc-search__bar-item",
|
|
38860
38924
|
visible: new survey_core__WEBPACK_IMPORTED_MODULE_1__.ComputedUpdater(function () { return _this.allMatches.length > 1; }),
|
|
38861
38925
|
action: function () {
|
|
@@ -42978,6 +43042,9 @@ var QuestionToolbox = /** @class */ (function (_super) {
|
|
|
42978
43042
|
};
|
|
42979
43043
|
QuestionToolbox.prototype.getAnimationOptions = function () {
|
|
42980
43044
|
var _this = this;
|
|
43045
|
+
var onBeforeRunAnimation = function (el) {
|
|
43046
|
+
el.style.setProperty("--animation-width", getComputedStyle(el).width);
|
|
43047
|
+
};
|
|
42981
43048
|
return {
|
|
42982
43049
|
getAnimatedElement: function () {
|
|
42983
43050
|
var _a;
|
|
@@ -42988,12 +43055,14 @@ var QuestionToolbox = /** @class */ (function (_super) {
|
|
|
42988
43055
|
getLeaveOptions: function () {
|
|
42989
43056
|
return {
|
|
42990
43057
|
cssClass: "svc-toolbox__panel--leave",
|
|
42991
|
-
onAfterRunAnimation: function () { _this.isFlyoutToCompactRunning = false; }
|
|
43058
|
+
onAfterRunAnimation: function () { _this.isFlyoutToCompactRunning = false; },
|
|
43059
|
+
onBeforeRunAnimation: onBeforeRunAnimation
|
|
42992
43060
|
};
|
|
42993
43061
|
},
|
|
42994
43062
|
getEnterOptions: function () {
|
|
42995
43063
|
return {
|
|
42996
|
-
cssClass: "svc-toolbox__panel--enter"
|
|
43064
|
+
cssClass: "svc-toolbox__panel--enter",
|
|
43065
|
+
onBeforeRunAnimation: onBeforeRunAnimation
|
|
42997
43066
|
};
|
|
42998
43067
|
}
|
|
42999
43068
|
};
|
|
@@ -44040,7 +44109,7 @@ function updateMatrixLogicExpandAction(question, actions, row) {
|
|
|
44040
44109
|
action.component = "sv-action-bar-item";
|
|
44041
44110
|
action.iconName = "icon-logic-expand";
|
|
44042
44111
|
action.innerCss = "sl-table__action-button sl-table__detail-button";
|
|
44043
|
-
action.iconSize =
|
|
44112
|
+
action.iconSize = "auto";
|
|
44044
44113
|
action.showTitle = false;
|
|
44045
44114
|
action.action = function () {
|
|
44046
44115
|
row.showHideDetailPanelClick();
|
|
@@ -44054,6 +44123,7 @@ function updateMatrixLogicRemoveAction(question, actions, row) {
|
|
|
44054
44123
|
var action = findAction(actions, "remove-row");
|
|
44055
44124
|
if (!action)
|
|
44056
44125
|
return;
|
|
44126
|
+
action.iconSize = "auto";
|
|
44057
44127
|
action.css = "sl-table__action-button sl-table__remove-button";
|
|
44058
44128
|
}
|
|
44059
44129
|
function updateMatrixRemoveAction(question, actions, row) {
|
|
@@ -44062,6 +44132,7 @@ function updateMatrixRemoveAction(question, actions, row) {
|
|
|
44062
44132
|
return;
|
|
44063
44133
|
action.component = "sv-action-bar-item";
|
|
44064
44134
|
action.iconName = "icon-delete";
|
|
44135
|
+
action.iconSize = "auto";
|
|
44065
44136
|
action.innerCss = "spg-action-button spg-action-button--danger";
|
|
44066
44137
|
action.title = question.removeRowText;
|
|
44067
44138
|
action.showTitle = false;
|
|
@@ -44985,7 +45056,9 @@ var map = {
|
|
|
44985
45056
|
"./visible-24x24.svg": "./src/images-v1/visible-24x24.svg",
|
|
44986
45057
|
"./wand-24x24.svg": "./src/images-v1/wand-24x24.svg",
|
|
44987
45058
|
"./warning-24x24.svg": "./src/images-v1/warning-24x24.svg",
|
|
44988
|
-
"./wrench-24x24.svg": "./src/images-v1/wrench-24x24.svg"
|
|
45059
|
+
"./wrench-24x24.svg": "./src/images-v1/wrench-24x24.svg",
|
|
45060
|
+
"./zoomin-24x24.svg": "./src/images-v1/zoomin-24x24.svg",
|
|
45061
|
+
"./zoomout-24x24.svg": "./src/images-v1/zoomout-24x24.svg"
|
|
44989
45062
|
};
|
|
44990
45063
|
|
|
44991
45064
|
|
|
@@ -45216,7 +45289,9 @@ var map = {
|
|
|
45216
45289
|
"./visible-24x24.svg": "./src/images-v2/visible-24x24.svg",
|
|
45217
45290
|
"./wand-24x24.svg": "./src/images-v2/wand-24x24.svg",
|
|
45218
45291
|
"./warning-24x24.svg": "./src/images-v2/warning-24x24.svg",
|
|
45219
|
-
"./wrench-24x24.svg": "./src/images-v2/wrench-24x24.svg"
|
|
45292
|
+
"./wrench-24x24.svg": "./src/images-v2/wrench-24x24.svg",
|
|
45293
|
+
"./zoomin-24x24.svg": "./src/images-v2/zoomin-24x24.svg",
|
|
45294
|
+
"./zoomout-24x24.svg": "./src/images-v2/zoomout-24x24.svg"
|
|
45220
45295
|
};
|
|
45221
45296
|
|
|
45222
45297
|
|
|
@@ -45714,7 +45789,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
45714
45789
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_94__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
45715
45790
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_94___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_94__);
|
|
45716
45791
|
var Version;
|
|
45717
|
-
Version = "".concat("1.12.
|
|
45792
|
+
Version = "".concat("1.12.14");
|
|
45718
45793
|
//should be loaded before other styles for easier override
|
|
45719
45794
|
__webpack_require__(/*! ../utils/context-button.scss */ "./src/utils/context-button.scss");
|
|
45720
45795
|
|
|
@@ -45834,7 +45909,7 @@ __webpack_require__(/*! ../utils/layout.scss */ "./src/utils/layout.scss");
|
|
|
45834
45909
|
__webpack_require__(/*! ../custom-questions/boolean-switch.scss */ "./src/custom-questions/boolean-switch.scss");
|
|
45835
45910
|
|
|
45836
45911
|
survey_core__WEBPACK_IMPORTED_MODULE_94__.settings.supportCreatorV2 = true;
|
|
45837
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_94__.checkLibraryVersion)("".concat("1.12.
|
|
45912
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_94__.checkLibraryVersion)("".concat("1.12.14"), "survey-creator-core");
|
|
45838
45913
|
|
|
45839
45914
|
})();
|
|
45840
45915
|
|