survey-analytics 2.3.14 → 2.3.15
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/shared.mjs +1 -1
- package/fesm/shared2.mjs +1 -1
- package/fesm/survey.analytics.core.mjs +1 -1
- package/fesm/survey.analytics.mjs +14 -11
- package/fesm/survey.analytics.mjs.map +1 -1
- package/fesm/survey.analytics.mongo.mjs +1 -1
- package/fesm/survey.analytics.tabulator.mjs +1 -1
- package/package.json +3 -2
- package/survey-analytics.types/plotly/chart-adapter.d.ts +1 -8
- package/survey.analytics.core.css +1 -1
- package/survey.analytics.core.js +1 -1
- package/survey.analytics.core.min.css +1 -1
- package/survey.analytics.core.min.js.LICENSE.txt +1 -1
- package/survey.analytics.css +1 -1
- package/survey.analytics.js +14 -11
- package/survey.analytics.js.map +1 -1
- package/survey.analytics.min.css +1 -1
- package/survey.analytics.min.js +1 -1
- package/survey.analytics.min.js.LICENSE.txt +1 -1
- package/survey.analytics.mongo.js +1 -1
- package/survey.analytics.mongo.min.js.LICENSE.txt +1 -1
- package/survey.analytics.tabulator.css +1 -1
- package/survey.analytics.tabulator.js +1 -1
- package/survey.analytics.tabulator.min.css +1 -1
- package/survey.analytics.tabulator.min.js.LICENSE.txt +1 -1
package/fesm/shared.mjs
CHANGED
package/fesm/shared2.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - SurveyJS Dashboard library v2.3.
|
|
2
|
+
* surveyjs - SurveyJS Dashboard library v2.3.15
|
|
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
|
*/
|
|
@@ -598,14 +598,14 @@ class RankingPlotly extends RankingModel {
|
|
|
598
598
|
}
|
|
599
599
|
|
|
600
600
|
const plotlyChartTypes = {
|
|
601
|
-
"boolean": BooleanPlotly.types,
|
|
602
|
-
"number": GaugePlotly.types,
|
|
603
|
-
"selectBase": SelectBasePlotly.types,
|
|
604
|
-
"histogram": HistogramPlotly.types,
|
|
605
|
-
"matrix": MatrixPlotly.types,
|
|
606
|
-
"matrixDropdownGrouped": MatrixDropdownGroupedPlotly.types,
|
|
607
|
-
"pivot": PivotPlotly.types,
|
|
608
|
-
"ranking": [].concat(SelectBasePlotly.types).concat(["radar"]),
|
|
601
|
+
"boolean": () => BooleanPlotly.types,
|
|
602
|
+
"number": () => GaugePlotly.types,
|
|
603
|
+
"selectBase": () => SelectBasePlotly.types,
|
|
604
|
+
"histogram": () => HistogramPlotly.types,
|
|
605
|
+
"matrix": () => MatrixPlotly.types,
|
|
606
|
+
"matrixDropdownGrouped": () => MatrixDropdownGroupedPlotly.types,
|
|
607
|
+
"pivot": () => PivotPlotly.types,
|
|
608
|
+
"ranking": () => [].concat(SelectBasePlotly.types).concat(["radar"]),
|
|
609
609
|
};
|
|
610
610
|
class PlotlyChartAdapter {
|
|
611
611
|
constructor(model) {
|
|
@@ -651,8 +651,11 @@ class PlotlyChartAdapter {
|
|
|
651
651
|
}
|
|
652
652
|
getChartTypes() {
|
|
653
653
|
const visualizerType = this.model.type;
|
|
654
|
-
|
|
655
|
-
|
|
654
|
+
let chartCtypes = [];
|
|
655
|
+
if (plotlyChartTypes[visualizerType]) {
|
|
656
|
+
chartCtypes = plotlyChartTypes[visualizerType]();
|
|
657
|
+
}
|
|
658
|
+
return chartCtypes;
|
|
656
659
|
}
|
|
657
660
|
create(chartNode) {
|
|
658
661
|
return __awaiter(this, void 0, void 0, function* () {
|