survey-analytics 1.12.1 → 1.12.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/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "lint": "eslint ./src --quiet",
21
21
  "pre-push-check": "npm run lint && npm run test"
22
22
  },
23
- "version": "1.12.1",
23
+ "version": "1.12.3",
24
24
  "name": "survey-analytics",
25
25
  "description": "SurveyJS analytics Library.",
26
26
  "main": "survey.analytics.js",
@@ -101,7 +101,7 @@
101
101
  },
102
102
  "peerDependencies": {
103
103
  "@types/plotly.js-dist-min": "^2.3.0",
104
- "survey-core": "1.12.1"
104
+ "survey-core": "1.12.3"
105
105
  },
106
106
  "husky": {
107
107
  "hooks": {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v1.12.1
2
+ * surveyjs - SurveyJS Dashboard library v1.12.3
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v1.12.1
2
+ * surveyjs - SurveyJS Dashboard library v1.12.3
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v1.12.1
2
+ * surveyjs - SurveyJS Dashboard library v1.12.3
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v1.12.1
2
+ * surveyjs - SurveyJS Dashboard library v1.12.3
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v1.12.1
2
+ * surveyjs - SurveyJS Dashboard library v1.12.3
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v1.12.1
2
+ * surveyjs - SurveyJS Dashboard library v1.12.3
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -8906,11 +8906,15 @@ var MuuriLayoutEngine = /** @class */ (function (_super) {
8906
8906
  };
8907
8907
  MuuriLayoutEngine.prototype.updateCore = function () {
8908
8908
  var _this = this;
8909
+ if (!this._muuri)
8910
+ return;
8909
8911
  if (this._layoutingTimer !== undefined) {
8910
8912
  clearTimeout(this._layoutingTimer);
8911
8913
  }
8912
8914
  this._layoutingTimer = setTimeout(function () {
8913
8915
  _this._layoutingTimer = undefined;
8916
+ if (!_this._muuri)
8917
+ return;
8914
8918
  _this._muuri.refreshItems();
8915
8919
  _this._muuri.layout();
8916
8920
  }, 10);
@@ -10063,7 +10067,9 @@ var PlotlyGaugeAdapter = /** @class */ (function () {
10063
10067
  });
10064
10068
  };
10065
10069
  PlotlyGaugeAdapter.prototype.destroy = function (node) {
10066
- plotly_js_dist_min__WEBPACK_IMPORTED_MODULE_6___default().purge(node);
10070
+ if (!!node) {
10071
+ plotly_js_dist_min__WEBPACK_IMPORTED_MODULE_6___default().purge(node);
10072
+ }
10067
10073
  this._chart = undefined;
10068
10074
  };
10069
10075
  return PlotlyGaugeAdapter;
@@ -10247,7 +10253,9 @@ var PlotlyChartAdapter = /** @class */ (function () {
10247
10253
  });
10248
10254
  };
10249
10255
  PlotlyChartAdapter.prototype.destroy = function (node) {
10250
- plotly_js_dist_min__WEBPACK_IMPORTED_MODULE_6___default().purge(node);
10256
+ if (!!node) {
10257
+ plotly_js_dist_min__WEBPACK_IMPORTED_MODULE_6___default().purge(node);
10258
+ }
10251
10259
  this._chart = undefined;
10252
10260
  };
10253
10261
  return PlotlyChartAdapter;