survey-creator-core 2.3.2 → 2.3.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/fesm/i18n/arabic.mjs +1 -1
- package/fesm/i18n/bulgarian.mjs +1 -1
- package/fesm/i18n/burmese.mjs +1 -1
- package/fesm/i18n/croatian.mjs +1 -1
- package/fesm/i18n/czech.mjs +1 -1
- package/fesm/i18n/danish.mjs +1 -1
- package/fesm/i18n/dutch.mjs +1 -1
- package/fesm/i18n/english.mjs +1 -1
- package/fesm/i18n/finnish.mjs +1 -1
- package/fesm/i18n/french.mjs +1 -1
- package/fesm/i18n/german.mjs +1 -1
- package/fesm/i18n/greek.mjs +1 -1
- package/fesm/i18n/haitian-creole.mjs +1 -1
- package/fesm/i18n/hebrew.mjs +1 -1
- package/fesm/i18n/hungarian.mjs +1 -1
- package/fesm/i18n/index.mjs +1 -1
- package/fesm/i18n/indonesian.mjs +1 -1
- package/fesm/i18n/italian.mjs +1 -1
- package/fesm/i18n/japanese.mjs +1 -1
- package/fesm/i18n/korean.mjs +1 -1
- package/fesm/i18n/malay.mjs +1 -1
- package/fesm/i18n/mongolian.mjs +1 -1
- package/fesm/i18n/norwegian.mjs +1 -1
- package/fesm/i18n/persian.mjs +1 -1
- package/fesm/i18n/polish.mjs +1 -1
- package/fesm/i18n/portuguese.mjs +1 -1
- package/fesm/i18n/romanian.mjs +1 -1
- package/fesm/i18n/russian.mjs +1 -1
- package/fesm/i18n/simplified-chinese.mjs +1 -1
- package/fesm/i18n/slovak.mjs +1 -1
- package/fesm/i18n/slovenian.mjs +1 -1
- package/fesm/i18n/spanish.mjs +1 -1
- package/fesm/i18n/swedish.mjs +1 -1
- package/fesm/i18n/tajik.mjs +1 -1
- package/fesm/i18n/thai.mjs +1 -1
- package/fesm/i18n/traditional-chinese.mjs +1 -1
- package/fesm/i18n/turkish.mjs +1 -1
- package/fesm/survey-creator-core.i18n.mjs +1 -1
- package/fesm/survey-creator-core.mjs +17 -13
- package/fesm/survey-creator-core.mjs.map +1 -1
- package/fesm/themes/index.mjs +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/greek.js +1 -1
- package/i18n/greek.min.js.LICENSE.txt +1 -1
- package/i18n/haitian-creole.js +1 -1
- package/i18n/haitian-creole.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 +17 -13
- 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/index.js +1 -1
- package/themes/index.min.js.LICENSE.txt +1 -1
- package/themes/sc2020.js +1 -1
- package/themes/sc2020.min.js.LICENSE.txt +1 -1
- package/typings/components/tabs/translation.d.ts +1 -1
- package/typings/utils/color-utils.d.ts +1 -1
package/i18n/turkish.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-creator-core",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.3",
|
|
4
4
|
"description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Survey",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"typings": "./typings/entries/index.d.ts",
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"ace-builds": "^1.4.12",
|
|
31
|
-
"survey-core": "2.3.
|
|
31
|
+
"survey-core": "2.3.3"
|
|
32
32
|
},
|
|
33
33
|
"peerDependenciesMeta": {
|
|
34
34
|
"ace-builds": {
|
package/survey-creator-core.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v2.3.
|
|
2
|
+
* SurveyJS Creator v2.3.3
|
|
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 v2.3.
|
|
231
|
+
* SurveyJS Creator v2.3.3
|
|
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 v2.3.
|
|
2
|
+
* SurveyJS Creator v2.3.3
|
|
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
|
|
@@ -3095,8 +3095,13 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
|
|
|
3095
3095
|
var actions = this.actionContainer.getVisibleActions();
|
|
3096
3096
|
var switchToStartLocation = false;
|
|
3097
3097
|
for (var i = actions.length - 1; i >= 0; i--) {
|
|
3098
|
-
if (actions[i].id === "convertTo")
|
|
3098
|
+
if (actions[i].id === "convertTo" || actions[i].id === "convertInputType") {
|
|
3099
|
+
actions[i].css = "svc-dropdown-action--convertTo";
|
|
3100
|
+
if (!switchToStartLocation) {
|
|
3101
|
+
actions[i].css += " svc-dropdown-action--convertTo-last";
|
|
3102
|
+
}
|
|
3099
3103
|
switchToStartLocation = true;
|
|
3104
|
+
}
|
|
3100
3105
|
if (!actions[i].innerItem.location)
|
|
3101
3106
|
actions[i].innerItem.location = switchToStartLocation ? "start" : "end";
|
|
3102
3107
|
}
|
|
@@ -3454,7 +3459,6 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
|
|
|
3454
3459
|
QuestionAdornerViewModel.prototype.createDropdownModel = function (options) {
|
|
3455
3460
|
var newAction = (0,survey_core__WEBPACK_IMPORTED_MODULE_1__.createDropdownActionModel)({
|
|
3456
3461
|
id: options.actionData.id,
|
|
3457
|
-
css: "svc-dropdown-action--convertTo",
|
|
3458
3462
|
iconName: options.actionData.iconName,
|
|
3459
3463
|
iconSize: "auto",
|
|
3460
3464
|
title: options.actionData.title,
|
|
@@ -3538,7 +3542,6 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
|
|
|
3538
3542
|
if (!!inputTypeConverter) {
|
|
3539
3543
|
items.push(inputTypeConverter);
|
|
3540
3544
|
}
|
|
3541
|
-
items[items.length - 1].css += " svc-dropdown-action--convertTo-last";
|
|
3542
3545
|
if (typeof element["isRequired"] !== "undefined" && !!element.getType
|
|
3543
3546
|
&& _survey_helper__WEBPACK_IMPORTED_MODULE_11__.SurveyHelper.isPropertyVisible(element, survey_core__WEBPACK_IMPORTED_MODULE_1__.Serializer.findProperty(element.getType(), "isRequired"), this.creator)) {
|
|
3544
3547
|
items.push(this.createRequiredAction());
|
|
@@ -18312,7 +18315,7 @@ var Translation = /** @class */ (function (_super) {
|
|
|
18312
18315
|
};
|
|
18313
18316
|
Translation.prototype.createTranslationEditor = function (locale) {
|
|
18314
18317
|
var _this = this;
|
|
18315
|
-
var res = new TranslationEditor(this.survey, locale, this.options);
|
|
18318
|
+
var res = new TranslationEditor(this.survey, locale, this.options, this.translationStringVisibilityCallback);
|
|
18316
18319
|
res.onApply = function () {
|
|
18317
18320
|
_this.reset();
|
|
18318
18321
|
};
|
|
@@ -18443,7 +18446,7 @@ var TranslationForEditor = /** @class */ (function (_super) {
|
|
|
18443
18446
|
}(Translation));
|
|
18444
18447
|
|
|
18445
18448
|
var TranslationEditor = /** @class */ (function () {
|
|
18446
|
-
function TranslationEditor(survey, locale, options) {
|
|
18449
|
+
function TranslationEditor(survey, locale, options, translationStringVisibilityCallback) {
|
|
18447
18450
|
var _this = this;
|
|
18448
18451
|
this.fromLocales = [];
|
|
18449
18452
|
this.survey = survey;
|
|
@@ -18452,6 +18455,7 @@ var TranslationEditor = /** @class */ (function () {
|
|
|
18452
18455
|
this.translationValue = new TranslationForEditor(this.survey, this.options, function (survey) {
|
|
18453
18456
|
_this.setupNavigationButtons(survey);
|
|
18454
18457
|
});
|
|
18458
|
+
this.translationValue.translationStringVisibilityCallback = translationStringVisibilityCallback;
|
|
18455
18459
|
this.translation.setEditMode(this.locale);
|
|
18456
18460
|
this.translation.reset();
|
|
18457
18461
|
this.fillFromLocales();
|
|
@@ -47065,14 +47069,14 @@ var ColorCalculator = /** @class */ (function () {
|
|
|
47065
47069
|
this.colorSettings = [];
|
|
47066
47070
|
this.isInitialized = false;
|
|
47067
47071
|
}
|
|
47068
|
-
ColorCalculator.prototype.initializeColorSettings = function (baseColor,
|
|
47072
|
+
ColorCalculator.prototype.initializeColorSettings = function (baseColor, dependentColorValues) {
|
|
47069
47073
|
var _this = this;
|
|
47070
47074
|
var baseColorRgba = getRGBaChannelValues(baseColor);
|
|
47071
|
-
|
|
47072
|
-
var
|
|
47073
|
-
var colorAlpha =
|
|
47075
|
+
dependentColorValues.forEach(function (dependentColor) {
|
|
47076
|
+
var dependentColorRgba = getRGBaChannelValues(dependentColor);
|
|
47077
|
+
var colorAlpha = dependentColorRgba[3];
|
|
47074
47078
|
var baseColorHSB = RGBToHSB(baseColorRgba[0], baseColorRgba[1], baseColorRgba[2]);
|
|
47075
|
-
var colorHSB = RGBToHSB(
|
|
47079
|
+
var colorHSB = RGBToHSB(dependentColorRgba[0], dependentColorRgba[1], dependentColorRgba[2]);
|
|
47076
47080
|
var colorDelta = baseColorHSB[2] - colorHSB[2];
|
|
47077
47081
|
_this.colorSettings.push({ colorAlpha: colorAlpha, colorDelta: colorDelta });
|
|
47078
47082
|
});
|
|
@@ -48732,7 +48736,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
48732
48736
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_116__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
48733
48737
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_116___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_116__);
|
|
48734
48738
|
var Version;
|
|
48735
|
-
Version = "".concat("2.3.
|
|
48739
|
+
Version = "".concat("2.3.3");
|
|
48736
48740
|
//should be loaded before other styles for easier override
|
|
48737
48741
|
|
|
48738
48742
|
|
|
@@ -48854,7 +48858,7 @@ Version = "".concat("2.3.2");
|
|
|
48854
48858
|
|
|
48855
48859
|
|
|
48856
48860
|
|
|
48857
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_116__.checkLibraryVersion)("".concat("2.3.
|
|
48861
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_116__.checkLibraryVersion)("".concat("2.3.3"), "survey-creator-core");
|
|
48858
48862
|
|
|
48859
48863
|
})();
|
|
48860
48864
|
|