survey-creator-core 1.12.34 → 1.12.35
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/burmese.js +1 -1
- package/i18n/burmese.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 +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/slovenian.js +1 -1
- package/i18n/slovenian.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 +2 -2
- package/survey-creator-core.fontless.css +1 -1
- package/survey-creator-core.fontless.min.css +1 -1
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js.LICENSE.txt +1 -1
- package/survey-creator-core.js +30 -8
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +2 -2
- package/survey-creator-core.min.js +1 -1
- package/survey-creator-core.min.js.LICENSE.txt +1 -1
- package/themes/default-contrast.js +1 -1
- package/themes/default-contrast.min.js.LICENSE.txt +1 -1
- package/themes/default-dark.js +1 -1
- package/themes/default-dark.min.js.LICENSE.txt +1 -1
- package/themes/default-light.js +1 -1
- package/themes/default-light.min.js.LICENSE.txt +1 -1
- package/themes/index.js +1 -1
- package/themes/index.min.js.LICENSE.txt +1 -1
package/survey-creator-core.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v1.12.
|
|
2
|
+
* SurveyJS Creator v1.12.35
|
|
3
3
|
* (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* Github: https://github.com/surveyjs/survey-creator
|
|
5
5
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
/*# sourceMappingURL=fonts.fontless.css.map*//*!
|
|
231
|
-
* SurveyJS Creator v1.12.
|
|
231
|
+
* SurveyJS Creator v1.12.35
|
|
232
232
|
* (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
233
233
|
* Github: https://github.com/surveyjs/survey-creator
|
|
234
234
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
package/survey-creator-core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v1.12.
|
|
2
|
+
* SurveyJS Creator v1.12.35
|
|
3
3
|
* (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* Github: https://github.com/surveyjs/survey-creator
|
|
5
5
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
@@ -135,6 +135,29 @@ var SurveyElementActionContainer = /** @class */ (function (_super) {
|
|
|
135
135
|
return SurveyElementActionContainer;
|
|
136
136
|
}(survey_core__WEBPACK_IMPORTED_MODULE_1__.AdaptiveActionContainer));
|
|
137
137
|
|
|
138
|
+
function debounce(func, delay) {
|
|
139
|
+
var timeout;
|
|
140
|
+
return function () {
|
|
141
|
+
var _this = this;
|
|
142
|
+
var args = [];
|
|
143
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
144
|
+
args[_i] = arguments[_i];
|
|
145
|
+
}
|
|
146
|
+
clearTimeout(timeout);
|
|
147
|
+
timeout = setTimeout(function () {
|
|
148
|
+
func.apply(_this, args);
|
|
149
|
+
}, delay);
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
var updateRowsVisibility = debounce(function (target) {
|
|
153
|
+
if (target.creator.rootElement.getAnimations({ subtree: true }).filter((function (animation) { return animation.effect.getComputedTiming().activeDuration !== Infinity && (animation.pending || animation.playState !== "finished"); }))[0]) {
|
|
154
|
+
updateRowsVisibility(target);
|
|
155
|
+
}
|
|
156
|
+
else {
|
|
157
|
+
target.creator.survey.pages.forEach(function (p) { return p.ensureRowsVisibility(); });
|
|
158
|
+
target.creator.survey.getAllPanels().forEach(function (p) { return p.ensureRowsVisibility(); });
|
|
159
|
+
}
|
|
160
|
+
}, 50);
|
|
138
161
|
var SurveyElementAdornerBase = /** @class */ (function (_super) {
|
|
139
162
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(SurveyElementAdornerBase, _super);
|
|
140
163
|
function SurveyElementAdornerBase(creator, surveyElement) {
|
|
@@ -568,17 +591,16 @@ var SurveyElementAdornerBase = /** @class */ (function (_super) {
|
|
|
568
591
|
], SurveyElementAdornerBase.prototype, "allowExpandCollapse", void 0);
|
|
569
592
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
570
593
|
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)({
|
|
571
|
-
onSet: function (val, target) {
|
|
594
|
+
onSet: function (val, target, prevVal) {
|
|
572
595
|
target.renderedCollapsed = val;
|
|
573
596
|
if (!val)
|
|
574
597
|
target.needToRenderContent = true;
|
|
575
598
|
if (target.creator.designerStateManager && !target.creator.designerStateManager.isSuspended && target.surveyElement) {
|
|
576
599
|
target.creator.designerStateManager.getElementState(target.surveyElement).collapsed = val;
|
|
577
600
|
}
|
|
578
|
-
|
|
579
|
-
target
|
|
580
|
-
|
|
581
|
-
}, 50);
|
|
601
|
+
if (!!val !== !!prevVal) {
|
|
602
|
+
updateRowsVisibility(target);
|
|
603
|
+
}
|
|
582
604
|
}
|
|
583
605
|
})
|
|
584
606
|
], SurveyElementAdornerBase.prototype, "collapsed", void 0);
|
|
@@ -46290,7 +46312,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
46290
46312
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_98__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
46291
46313
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_98___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_98__);
|
|
46292
46314
|
var Version;
|
|
46293
|
-
Version = "".concat("1.12.
|
|
46315
|
+
Version = "".concat("1.12.35");
|
|
46294
46316
|
//should be loaded before other styles for easier override
|
|
46295
46317
|
__webpack_require__(/*! ../utils/context-button.scss */ "./src/utils/context-button.scss");
|
|
46296
46318
|
|
|
@@ -46413,7 +46435,7 @@ __webpack_require__(/*! ../utils/layout.scss */ "./src/utils/layout.scss");
|
|
|
46413
46435
|
__webpack_require__(/*! ../custom-questions/boolean-switch.scss */ "./src/custom-questions/boolean-switch.scss");
|
|
46414
46436
|
|
|
46415
46437
|
survey_core__WEBPACK_IMPORTED_MODULE_98__.settings.supportCreatorV2 = true;
|
|
46416
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_98__.checkLibraryVersion)("".concat("1.12.
|
|
46438
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_98__.checkLibraryVersion)("".concat("1.12.35"), "survey-creator-core");
|
|
46417
46439
|
|
|
46418
46440
|
})();
|
|
46419
46441
|
|