survey-analytics 1.9.104 → 1.9.105

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.9.104",
23
+ "version": "1.9.105",
24
24
  "name": "survey-analytics",
25
25
  "description": "SurveyJS analytics Library.",
26
26
  "main": "survey.analytics.js",
@@ -58,7 +58,7 @@
58
58
  "jquery": "3.5.0",
59
59
  "muuri": "^0.8.0",
60
60
  "plotly.js-dist-min": "^2.11.1",
61
- "survey-core": "1.9.104",
61
+ "survey-core": "1.9.105",
62
62
  "tabulator-tables": "4.8.4",
63
63
  "wordcloud": "^1.2.2"
64
64
  },
@@ -121,7 +121,7 @@ export declare class VisualizerBase implements IDataInfo {
121
121
  * const vizPanel = new VisualizationPanel( ... );
122
122
  *
123
123
  * // Add a custom button to the toolbar
124
- * visPanel.visualizers[0].registerToolbarItem("my-toolbar-button", () => {
124
+ * vizPanel.visualizers[0].registerToolbarItem("my-toolbar-button", () => {
125
125
  * return DocumentHelper.createButton(
126
126
  * // A button click event handler
127
127
  * () => {
@@ -152,8 +152,16 @@ export declare class VisualizerBase implements IDataInfo {
152
152
  * ```
153
153
  * @param name A custom name for the toolbar item.
154
154
  * @param creator A function that accepts the toolbar and should return an `HTMLElement` with the toolbar item.
155
+ * @see unregisterToolbarItem
155
156
  */
156
157
  registerToolbarItem(name: string, creator: (toolbar?: HTMLDivElement) => HTMLElement): void;
158
+ /**
159
+ *
160
+ * Unregisters a function used to create a toolbar item. Allows you to remove a toolbar item.
161
+ * @param name A toolbar item name.
162
+ * @returns A function previously used to [register](#registerToolbarItem) the removed toolbar item.
163
+ * @see registerToolbarItem
164
+ */
157
165
  unregisterToolbarItem(name: string): (toolbar?: HTMLDivElement) => HTMLElement;
158
166
  /**
159
167
  * Returns the visualizer's type.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v1.9.104
2
+ * surveyjs - SurveyJS Dashboard library v1.9.105
3
3
  * Copyright (c) 2015-2023 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.9.104
2
+ * surveyjs - SurveyJS Dashboard library v1.9.105
3
3
  * Copyright (c) 2015-2023 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.9.104
2
+ * surveyjs - SurveyJS Dashboard library v1.9.105
3
3
  * Copyright (c) 2015-2023 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.9.104
2
+ * surveyjs - SurveyJS Dashboard library v1.9.105
3
3
  * Copyright (c) 2015-2023 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.9.104
2
+ * surveyjs - SurveyJS Dashboard library v1.9.105
3
3
  * Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */