survey-react 1.12.55 → 1.12.56

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/defaultV2.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.55
2
+ * surveyjs - Survey JavaScript library v1.12.56
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
package/defaultV2.min.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.55
2
+ * surveyjs - Survey JavaScript library v1.12.56
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
package/modern.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.55
2
+ * surveyjs - Survey JavaScript library v1.12.56
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
package/modern.min.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.55
2
+ * surveyjs - Survey JavaScript library v1.12.56
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-react",
3
- "version": "1.12.55",
3
+ "version": "1.12.56",
4
4
  "description": "survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.",
5
5
  "keywords": [
6
6
  "Survey",
package/survey.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.55
2
+ * surveyjs - Survey JavaScript library v1.12.56
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
package/survey.min.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.55
2
+ * surveyjs - Survey JavaScript library v1.12.56
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
package/survey.react.d.ts CHANGED
@@ -7344,7 +7344,7 @@ declare module "packages/survey-core/src/question_signaturepad" {
7344
7344
  * [View Demo](https://surveyjs.io/form-library/examples/signature-pad-widget-javascript/ (linkStyle))
7345
7345
  */
7346
7346
  export class QuestionSignaturePadModel extends QuestionFileModelBase {
7347
- isDrawingValue: boolean;
7347
+ hasDrawnStroke: boolean;
7348
7348
  isReadyForUpload: boolean;
7349
7349
  private getPenColorFromTheme;
7350
7350
  private updateColors;
package/survey.react.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.55
2
+ * surveyjs - Survey JavaScript library v1.12.56
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -61868,6 +61868,7 @@ var question_file_QuestionFileModelBase = /** @class */ (function (_super) {
61868
61868
  QuestionFileModelBase.prototype.uploadFiles = function (files) {
61869
61869
  var _this = this;
61870
61870
  if (this.survey) {
61871
+ this.errors = [];
61871
61872
  this.stateChanged("loading");
61872
61873
  this.survey.uploadFiles(this, this.name, files, function (arg1, arg2) {
61873
61874
  if (Array.isArray(arg1)) {
@@ -66854,6 +66855,7 @@ var question_signaturepad_QuestionSignaturePadModel = /** @class */ (function (_
66854
66855
  this.canvas.getContext("2d").clearRect(0, 0, this.canvas.width * this.scale, this.canvas.height * this.scale);
66855
66856
  this.signaturePad.clear();
66856
66857
  }
66858
+ this.hasDrawnStroke = false;
66857
66859
  this.valueWasChangedFromLastUpload = false;
66858
66860
  return;
66859
66861
  }
@@ -66917,11 +66919,10 @@ var question_signaturepad_QuestionSignaturePadModel = /** @class */ (function (_
66917
66919
  this.updateColors(signaturePad);
66918
66920
  signaturePad.addEventListener("beginStroke", function () {
66919
66921
  _this.scaleCanvas();
66920
- _this.isDrawingValue = true;
66922
+ _this.hasDrawnStroke = true;
66921
66923
  canvas.focus();
66922
66924
  }, { once: false });
66923
66925
  signaturePad.addEventListener("endStroke", function () {
66924
- _this.isDrawingValue = false;
66925
66926
  if (_this.storeDataAsText) {
66926
66927
  _this.updateValue();
66927
66928
  }
@@ -67121,7 +67122,7 @@ var question_signaturepad_QuestionSignaturePadModel = /** @class */ (function (_
67121
67122
  configurable: true
67122
67123
  });
67123
67124
  QuestionSignaturePadModel.prototype.nothingIsDrawn = function () {
67124
- var isDrawing = this.isDrawingValue;
67125
+ var isDrawing = this.hasDrawnStroke;
67125
67126
  var isEmpty = this.isEmpty();
67126
67127
  var isUploading = this.isUploading;
67127
67128
  var valueWasChangedFromLastUpload = this.valueWasChangedFromLastUpload;
@@ -67171,7 +67172,7 @@ var question_signaturepad_QuestionSignaturePadModel = /** @class */ (function (_
67171
67172
  };
67172
67173
  question_signaturepad_decorate([
67173
67174
  jsonobject_property({ defaultValue: false })
67174
- ], QuestionSignaturePadModel.prototype, "isDrawingValue", void 0);
67175
+ ], QuestionSignaturePadModel.prototype, "hasDrawnStroke", void 0);
67175
67176
  question_signaturepad_decorate([
67176
67177
  jsonobject_property({ defaultValue: false })
67177
67178
  ], QuestionSignaturePadModel.prototype, "isReadyForUpload", void 0);
@@ -73359,9 +73360,9 @@ Serializer.addClass("currencymask", [
73359
73360
 
73360
73361
  var Version;
73361
73362
  var ReleaseDate;
73362
- Version = "" + "1.12.55";
73363
+ Version = "" + "1.12.56";
73363
73364
  settings.version = Version;
73364
- ReleaseDate = "" + "2025-10-16";
73365
+ ReleaseDate = "" + "2025-10-21";
73365
73366
  function checkLibraryVersion(ver, libraryName) {
73366
73367
  if (Version != ver) {
73367
73368
  var str = "survey-core has version '" + Version + "' and " + libraryName