survey-creator-core 1.12.28 → 1.12.30
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/fesm/i18n/arabic.js +1 -1
- package/fesm/i18n/bulgarian.js +1 -1
- package/fesm/i18n/burmese.js +1 -1
- package/fesm/i18n/croatian.js +1 -1
- package/fesm/i18n/czech.js +1 -1
- package/fesm/i18n/danish.js +1 -1
- package/fesm/i18n/dutch.js +1 -1
- package/fesm/i18n/english.js +1 -1
- package/fesm/i18n/finnish.js +1 -1
- package/fesm/i18n/french.js +1 -1
- package/fesm/i18n/german.js +1 -1
- package/fesm/i18n/hebrew.js +1 -1
- package/fesm/i18n/hungarian.js +1 -1
- package/fesm/i18n/index.js +1 -1
- package/fesm/i18n/indonesian.js +1 -1
- package/fesm/i18n/italian.js +1 -1
- package/fesm/i18n/japanese.js +1 -1
- package/fesm/i18n/korean.js +1 -1
- package/fesm/i18n/malay.js +1 -1
- package/fesm/i18n/mongolian.js +1 -1
- package/fesm/i18n/norwegian.js +1 -1
- package/fesm/i18n/persian.js +1 -1
- package/fesm/i18n/polish.js +1 -1
- package/fesm/i18n/portuguese.js +1 -1
- package/fesm/i18n/romanian.js +1 -1
- package/fesm/i18n/russian.js +1 -1
- package/fesm/i18n/simplified-chinese.js +1 -1
- package/fesm/i18n/slovak.js +1 -1
- package/fesm/i18n/slovenian.js +1 -1
- package/fesm/i18n/spanish.js +1 -1
- package/fesm/i18n/swedish.js +1 -1
- package/fesm/i18n/tajik.js +1 -1
- package/fesm/i18n/thai.js +1 -1
- package/fesm/i18n/traditional-chinese.js +1 -1
- package/fesm/i18n/turkish.js +1 -1
- package/fesm/survey-creator-core.i18n.js +1 -1
- package/fesm/survey-creator-core.js +1680 -1374
- package/fesm/survey-creator-core.js.map +1 -1
- package/fesm/themes/index.js +34 -1
- package/fesm/themes/index.js.map +1 -1
- 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 +28 -20
- 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.d.ts +33 -0
- package/themes/index.js +1 -1
- package/themes/index.min.js.LICENSE.txt +1 -1
- package/themes/sc2020.d.ts +33 -0
- package/themes/sc2020.js +34 -1
- package/themes/sc2020.js.map +1 -1
- package/themes/sc2020.min.js +1 -1
- package/themes/sc2020.min.js.LICENSE.txt +1 -1
- package/typings/components/question-image.d.ts +2 -1
- package/typings/components/survey-element-adorner-base.d.ts +88 -0
- package/typings/drag-drop-enums.d.ts +14 -0
- package/typings/dragdrop-survey-elements.d.ts +55 -0
- package/typings/utils/creator-locstrings.d.ts +9 -0
package/survey-creator-core.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v1.12.
|
|
2
|
+
* SurveyJS Creator v1.12.30
|
|
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.30
|
|
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.30
|
|
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
|
|
@@ -2681,14 +2681,7 @@ var QuestionImageAdornerViewModel = /** @class */ (function (_super) {
|
|
|
2681
2681
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__extends)(QuestionImageAdornerViewModel, _super);
|
|
2682
2682
|
function QuestionImageAdornerViewModel(creator, surveyElement, templateData) {
|
|
2683
2683
|
var _this = _super.call(this, creator, surveyElement, templateData) || this;
|
|
2684
|
-
_this.imageLinkValueChangedHandler = function () {
|
|
2685
|
-
_this.isEmptyImageLink = !_this.question.imageLink;
|
|
2686
|
-
_this.filePresentationModel.value = null;
|
|
2687
|
-
_this.filePresentationModel.visible = !_this.question.imageLink;
|
|
2688
|
-
};
|
|
2689
2684
|
_this.isEmptyImageLink = !_this.question.imageLink;
|
|
2690
|
-
_this.surveyElement.registerFunctionOnPropertyValueChanged("imageLink", _this.imageLinkValueChangedHandler, "imageLinkValueChanged");
|
|
2691
|
-
_this.surveyElement.locImageLink.onStringChanged.add(_this.imageLinkValueChangedHandler);
|
|
2692
2685
|
_this.initFilePresentationModel();
|
|
2693
2686
|
return _this;
|
|
2694
2687
|
}
|
|
@@ -2718,6 +2711,28 @@ var QuestionImageAdornerViewModel = /** @class */ (function (_super) {
|
|
|
2718
2711
|
}
|
|
2719
2712
|
});
|
|
2720
2713
|
};
|
|
2714
|
+
QuestionImageAdornerViewModel.prototype.detachElement = function (surveyElement) {
|
|
2715
|
+
if (surveyElement) {
|
|
2716
|
+
surveyElement.unRegisterFunctionOnPropertyValueChanged("imageLink", "imageLinkValueChanged");
|
|
2717
|
+
surveyElement.locImageLink.onStringChanged.remove(this.imageLinkValueChangedHandler);
|
|
2718
|
+
}
|
|
2719
|
+
_super.prototype.detachElement.call(this, this.element);
|
|
2720
|
+
};
|
|
2721
|
+
QuestionImageAdornerViewModel.prototype.attachElement = function (surveyElement) {
|
|
2722
|
+
var _this = this;
|
|
2723
|
+
_super.prototype.attachElement.call(this, surveyElement);
|
|
2724
|
+
if (surveyElement) {
|
|
2725
|
+
if (!this.imageLinkValueChangedHandler) {
|
|
2726
|
+
this.imageLinkValueChangedHandler = function () {
|
|
2727
|
+
_this.isEmptyImageLink = !_this.question || !_this.question.imageLink;
|
|
2728
|
+
_this.filePresentationModel.value = null;
|
|
2729
|
+
_this.filePresentationModel.visible = _this.isEmptyImageLink;
|
|
2730
|
+
};
|
|
2731
|
+
}
|
|
2732
|
+
surveyElement.registerFunctionOnPropertyValueChanged("imageLink", this.imageLinkValueChangedHandler, "imageLinkValueChanged");
|
|
2733
|
+
surveyElement.locImageLink.onStringChanged.add(this.imageLinkValueChangedHandler);
|
|
2734
|
+
}
|
|
2735
|
+
};
|
|
2721
2736
|
QuestionImageAdornerViewModel.prototype.chooseFile = function (model) {
|
|
2722
2737
|
var fileInput = model.rootElement.getElementsByClassName("svc-choose-file-input")[0];
|
|
2723
2738
|
this.editorSurveyModel.chooseFiles(fileInput, function (files) {
|
|
@@ -2775,13 +2790,6 @@ var QuestionImageAdornerViewModel = /** @class */ (function (_super) {
|
|
|
2775
2790
|
.append(_super.prototype.css.call(this))
|
|
2776
2791
|
.append("svc-question__content--loading", this.isUploading).toString();
|
|
2777
2792
|
};
|
|
2778
|
-
QuestionImageAdornerViewModel.prototype.dispose = function () {
|
|
2779
|
-
if (this.surveyElement) {
|
|
2780
|
-
this.surveyElement.unRegisterFunctionOnPropertyValueChanged("imageLink", "imageLinkValueChanged");
|
|
2781
|
-
this.surveyElement.locImageLink.onStringChanged.remove(this.imageLinkValueChangedHandler);
|
|
2782
|
-
}
|
|
2783
|
-
_super.prototype.dispose.call(this);
|
|
2784
|
-
};
|
|
2785
2793
|
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([
|
|
2786
2794
|
(0,survey_core__WEBPACK_IMPORTED_MODULE_1__.property)({ defaultValue: false })
|
|
2787
2795
|
], QuestionImageAdornerViewModel.prototype, "isUploading", void 0);
|
|
@@ -35835,9 +35843,9 @@ var FastEntryEditor = /** @class */ (function (_super) {
|
|
|
35835
35843
|
if (item) {
|
|
35836
35844
|
item.text = src[i].text;
|
|
35837
35845
|
names.forEach(function (name) {
|
|
35838
|
-
if (name
|
|
35839
|
-
|
|
35840
|
-
|
|
35846
|
+
if (name !== "value") {
|
|
35847
|
+
item[name] = src[i][name];
|
|
35848
|
+
}
|
|
35841
35849
|
});
|
|
35842
35850
|
src.splice(i, 1, item);
|
|
35843
35851
|
}
|
|
@@ -46246,7 +46254,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
46246
46254
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_98__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
46247
46255
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_98___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_98__);
|
|
46248
46256
|
var Version;
|
|
46249
|
-
Version = "".concat("1.12.
|
|
46257
|
+
Version = "".concat("1.12.30");
|
|
46250
46258
|
//should be loaded before other styles for easier override
|
|
46251
46259
|
__webpack_require__(/*! ../utils/context-button.scss */ "./src/utils/context-button.scss");
|
|
46252
46260
|
|
|
@@ -46369,7 +46377,7 @@ __webpack_require__(/*! ../utils/layout.scss */ "./src/utils/layout.scss");
|
|
|
46369
46377
|
__webpack_require__(/*! ../custom-questions/boolean-switch.scss */ "./src/custom-questions/boolean-switch.scss");
|
|
46370
46378
|
|
|
46371
46379
|
survey_core__WEBPACK_IMPORTED_MODULE_98__.settings.supportCreatorV2 = true;
|
|
46372
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_98__.checkLibraryVersion)("".concat("1.12.
|
|
46380
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_98__.checkLibraryVersion)("".concat("1.12.30"), "survey-creator-core");
|
|
46373
46381
|
|
|
46374
46382
|
})();
|
|
46375
46383
|
|