survey-analytics 2.3.14 → 2.3.16
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/README.md +2 -2
- 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 +29 -14
- package/survey-analytics.types/plotly/chart-adapter.d.ts +1 -8
- package/survey.analytics.core.css +2 -2
- package/survey.analytics.core.js +2 -2
- package/survey.analytics.core.min.css +2 -2
- package/survey.analytics.core.min.js.LICENSE.txt +2 -2
- package/survey.analytics.css +2 -2
- package/survey.analytics.js +15 -12
- package/survey.analytics.js.map +1 -1
- package/survey.analytics.min.css +2 -2
- package/survey.analytics.min.js +1 -1
- package/survey.analytics.min.js.LICENSE.txt +2 -2
- package/survey.analytics.mongo.js +2 -2
- package/survey.analytics.mongo.min.js.LICENSE.txt +2 -2
- package/survey.analytics.tabulator.css +2 -2
- package/survey.analytics.tabulator.js +2 -2
- package/survey.analytics.tabulator.min.css +2 -2
- package/survey.analytics.tabulator.min.js.LICENSE.txt +2 -2
package/package.json
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
+
"version": "2.3.16",
|
|
3
|
+
"name": "survey-analytics",
|
|
2
4
|
"scripts": {
|
|
3
5
|
"start": "webpack-dev-server --env buildType=dev",
|
|
4
6
|
"test": "jest",
|
|
@@ -10,6 +12,7 @@
|
|
|
10
12
|
"doc:gen": "node doc_generator/lib_docgenerator.js src/index.ts",
|
|
11
13
|
"doc:update": "chmod +x ./docupdate_npm.sh && ./docupdate_npm.sh",
|
|
12
14
|
"watch:dev": "concurrently \"webpack --env buildType=dev --env emitStyles\" \"rollup -c -w\" ",
|
|
15
|
+
"build:all": "npm run build",
|
|
13
16
|
"build": "webpack --env buildType=dev --env emitNonSourceFiles --env emitStyles && webpack --env buildType=prod --env emitStyles && rollup -c && npm run build:types",
|
|
14
17
|
"build:types": "npm run build:types:core && npm run build:types:summary && npm run build:types:tabulator && npm run build:types:mongo",
|
|
15
18
|
"build:types:core": "tsc --p tsconfig.summary.core.json && echo \"export * from './survey-analytics.types/entries/summary.core';\" >> build/survey.analytics.core.d.ts",
|
|
@@ -20,28 +23,16 @@
|
|
|
20
23
|
"pre-push-check": "npm run lint && npm run test",
|
|
21
24
|
"pwinst": "playwright install chromium"
|
|
22
25
|
},
|
|
23
|
-
"version": "2.3.14",
|
|
24
|
-
"name": "survey-analytics",
|
|
25
|
-
"description": "SurveyJS analytics Library.",
|
|
26
26
|
"main": "survey.analytics.js",
|
|
27
27
|
"files": [
|
|
28
28
|
"**/*"
|
|
29
29
|
],
|
|
30
30
|
"typings": "survey.analytics.d.ts",
|
|
31
31
|
"private": false,
|
|
32
|
-
"keywords": [
|
|
33
|
-
"Survey",
|
|
34
|
-
"JavaScript",
|
|
35
|
-
"Library",
|
|
36
|
-
"SurveyJS",
|
|
37
|
-
"Analytics"
|
|
38
|
-
],
|
|
39
32
|
"repository": {
|
|
40
33
|
"type": "git",
|
|
41
34
|
"url": "https://github.com/surveyjs/survey-analytics.git"
|
|
42
35
|
},
|
|
43
|
-
"homepage": "https://surveyjs.io/",
|
|
44
|
-
"license": "SEE LICENSE IN LICENSE",
|
|
45
36
|
"dependencies": {
|
|
46
37
|
"mongodb": "^6.20.0",
|
|
47
38
|
"muuri": "^0.8.0",
|
|
@@ -96,7 +87,7 @@
|
|
|
96
87
|
"@types/mongodb": "^4.0.6",
|
|
97
88
|
"@types/plotly.js-dist-min": "^2.3.0",
|
|
98
89
|
"@types/tabulator-tables": "^6.2.3",
|
|
99
|
-
"survey-core": "2.3.
|
|
90
|
+
"survey-core": "2.3.16"
|
|
100
91
|
},
|
|
101
92
|
"husky": {
|
|
102
93
|
"hooks": {
|
|
@@ -126,5 +117,29 @@
|
|
|
126
117
|
"require": "./survey.analytics.tabulator.js"
|
|
127
118
|
}
|
|
128
119
|
},
|
|
129
|
-
"module": "fesm/survey.analytics.mjs"
|
|
120
|
+
"module": "fesm/survey.analytics.mjs",
|
|
121
|
+
"homepage": "https://surveyjs.io/",
|
|
122
|
+
"author": "DevSoft Baltic OÜ <info@devsoftbaltic.com>",
|
|
123
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
124
|
+
"licenseUrl": "https://surveyjs.io/licensing",
|
|
125
|
+
"description": "SurveyJS Dashboard is a UI component for visualizing and analyzing survey data. It interprets the form JSON schema to identify question types and renders collected responses using interactive charts and tables.",
|
|
126
|
+
"keywords": [
|
|
127
|
+
"survey",
|
|
128
|
+
"form",
|
|
129
|
+
"surveyjs",
|
|
130
|
+
"dashboard",
|
|
131
|
+
"analytics",
|
|
132
|
+
"data-visualization",
|
|
133
|
+
"charts",
|
|
134
|
+
"tables",
|
|
135
|
+
"survey-results",
|
|
136
|
+
"survey-data",
|
|
137
|
+
"survey-analysis",
|
|
138
|
+
"json",
|
|
139
|
+
"data-analysis",
|
|
140
|
+
"survey-library",
|
|
141
|
+
"reporting",
|
|
142
|
+
"data-management",
|
|
143
|
+
"visualize-survey"
|
|
144
|
+
]
|
|
130
145
|
}
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import { SelectBase } from "../selectBase";
|
|
2
2
|
import { VisualizerBase, IChartAdapter } from "../visualizerBase";
|
|
3
3
|
export declare const plotlyChartTypes: {
|
|
4
|
-
|
|
5
|
-
number: string[];
|
|
6
|
-
selectBase: string[];
|
|
7
|
-
histogram: string[];
|
|
8
|
-
matrix: string[];
|
|
9
|
-
matrixDropdownGrouped: string[];
|
|
10
|
-
pivot: string[];
|
|
11
|
-
ranking: any[];
|
|
4
|
+
[key: string]: () => Array<string>;
|
|
12
5
|
};
|
|
13
6
|
export declare class PlotlyChartAdapter implements IChartAdapter {
|
|
14
7
|
protected model: SelectBase | VisualizerBase;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - SurveyJS Dashboard library v2.3.
|
|
2
|
+
* surveyjs - SurveyJS Dashboard library v2.3.16
|
|
3
3
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
|
-
* License:
|
|
4
|
+
* License: SEE LICENSE IN LICENSE
|
|
5
5
|
*/
|
|
6
6
|
/*!**************************************************************************************************************************************************************************!*\
|
|
7
7
|
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./src/visualizerBase.scss ***!
|
package/survey.analytics.core.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - SurveyJS Dashboard library v2.3.
|
|
2
|
+
* surveyjs - SurveyJS Dashboard library v2.3.16
|
|
3
3
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
|
-
* License:
|
|
4
|
+
* License: SEE LICENSE IN LICENSE
|
|
5
5
|
*/
|
|
6
6
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
7
7
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - SurveyJS Dashboard library v2.3.
|
|
2
|
+
* surveyjs - SurveyJS Dashboard library v2.3.16
|
|
3
3
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
|
-
* License:
|
|
4
|
+
* License: SEE LICENSE IN LICENSE
|
|
5
5
|
*/
|
|
6
6
|
.sa-visualizer__header{font-family:var(--font-family-secondary, Raleway, Arial, sans-serif);font-size:var(--root-font-size, 14px)}.sa-visualizer__content{font-family:var(--font-family, "Segoe UI", SegoeUI, Arial, sans-serif);display:inline-block;overflow:hidden;width:100%}.sa-visualizer__footer{margin-top:10px}.sa-visualizer__footer-title{display:inline-block;font-family:var(--font-family-secondary, Raleway, Arial, sans-serif);font-size:var(--root-font-size, 14px);color:#404040;line-height:34px;vertical-align:middle;margin:0}.sa-visualizer__footer-content{margin-top:10px}.sa-data-loading-indicator-panel{width:100%;min-height:200px;position:relative}.sa-data-loading-indicator{position:absolute;width:64px;height:64px;left:calc((100% - 64px)/2);top:calc((100% - 64px)/2);animation:sa-data-loading-indicator-spinner 1s infinite linear}@keyframes sa-data-loading-indicator-spinner{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}
|
|
7
7
|
.sa-commercial{box-sizing:border-box;padding:var(--sjs2-spacing-static-x150, 12px) var(--sjs2-spacing-static-x600, 48px);justify-content:center;width:100%;background:var(--sjs2-color-bg-brand-primary, #19B394)}@media screen and (max-width: 600px){.sa-commercial{padding:var(--sjs2-spacing-static-x100, 8px) var(--sjs2-spacing-static-x300, 24px)}}.sa-commercial__text{text-decoration:none;color:var(--sjs2-color-fg-static-main-primary, #FFF);text-align:center;font-family:var(--sjs2-font-family-semantic-default, "Segoe UI", SegoeUI, Arial, sans-serif);font-size:var(--sjs2-font-size-semantic-default, 16px);font-style:normal;font-weight:600;line-height:var(--sjs2-line-height-semantic-default, 24px)}@media screen and (max-width: 600px){.sa-commercial__text{font-size:var(--sjs2-font-size-semantic-small, 12px);line-height:var(--sjs2-line-height-semantic-small, 16px)}}.sa-commercial__text a{color:var(--sjs2-color-fg-static-main-primary, #FFF);text-align:center;font-family:var(--sjs2-font-family-semantic-default, "Segoe UI", SegoeUI, Arial, sans-serif);font-size:var(--sjs2-font-size-semantic-default, 16px);font-style:normal;font-weight:600;line-height:var(--sjs2-line-height-semantic-default, 24px);text-decoration-line:underline;text-decoration-style:solid;text-decoration-skip-ink:auto;text-decoration-thickness:5%;text-underline-offset:10%;text-underline-position:from-font}@media screen and (max-width: 600px){.sa-commercial__text a{font-size:var(--sjs2-font-size-semantic-small, 12px);line-height:var(--sjs2-line-height-semantic-small, 16px)}}.sa-panel__header{margin:0 1em}.sa-grid{position:relative}.sa-grid__grid-sizer{width:100%;box-sizing:border-box}@media screen and (min-width: 1400px){.sa-grid__grid-sizer{width:50%}}.sa-question{display:inline-block;width:100%;vertical-align:top;box-sizing:border-box;overflow:hidden;padding:1em}.sa-question-layouted{position:absolute}@media screen and (min-width: 1400px){.sa-question-layouted{width:calc(50% - 1px)}}.sa-question__content{background-color:var(--background-color, #f7f7f7);padding:20px}.sa-question__title{margin-left:30px;font-family:var(--font-family-secondary, Raleway, Arial, sans-serif);font-size:18px;font-weight:bold;color:var(--text-color, #404040);margin:0;margin-bottom:1em}.sa-question__title--draggable{cursor:move}.sa-question__title--draggable:after{content:" ";display:block;float:right;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg version=%271.1%27 xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3E%3Cg%3E%3Cpolygon style=%27fill: %231ab394%27 points=%2713,5 12,6 13,7 9,7 9,3 10,4 11,3 8,0 5,3 6,4 7,3 7,7 3,7 4,6 3,5 0,8 3,11 4,10 3,9 7,9 7,13 6,12 5,13 8,16 11,13 10,12 9,13 9,9 13,9 12,10 13,11 16,8 %27/%3E%3C/g%3E%3C/svg%3E")}[dir=rtl] .sa-question__title--draggable:after,[style*="direction: rtl"] .sa-question__title--draggable:after,[style*="direction:rtl"] .sa-question__title--draggable:after{float:left}.sa-toolbar{font-family:var(--font-family, "Segoe UI", SegoeUI, Arial, sans-serif);font-size:var(--root-font-size, 14px);color:var(--text-color, #404040);line-height:34px;margin-bottom:25px;display:flex;flex-direction:row;flex-wrap:wrap;gap:10px}.sa-toolbar.sa-toolbar>*{display:inline-flex;line-height:1em}.sa-toolbar__button{font-family:var(--font-family, "Segoe UI", SegoeUI, Arial, sans-serif);font-size:var(--root-font-size, 14px);padding:8px;vertical-align:middle;cursor:pointer;border:1px solid rgba(0,0,0,0);white-space:nowrap;margin:0 10px}.sa-toolbar__button:hover{border-color:var(--border-color, #e7e7e7);background-blend-mode:darken}.sa-toolbar__button:first-child{margin-left:0}.sa-toolbar__button:last-child{margin-right:0}.sa-toolbar__svg-button{width:15px;height:15px;padding:0;border:none;outline:none;background-color:inherit;cursor:pointer}.sa-toolbar__svg-button use{fill:var(--svg-color, rgba(159, 159, 159, 0.4))}.sa-toolbar__svg-button:hover use{fill:var(--svg-hover-color, #9f9f9f)}.sa-toolbar__svg-button svg{width:15px;height:15px}.sa-toolbar__button--right{float:right}.sa-question__select-wrapper{position:relative;display:inline-block;min-width:100px;max-width:300px}.sa-question__select-wrapper .sa-question__select-title{white-space:nowrap;display:inline-block;line-height:34px;padding-right:8px}.sa-question__select-wrapper .sa-question__select{width:100%;display:block;position:relative;appearance:none;-webkit-appearance:none;-moz-appearance:none;border-radius:2px;background:var(--text-color-inverse, #fff);border-color:var(--border-color, #e7e7e7);height:34px;padding:5px 23px 5px 15px;line-height:initial}.sa-question__select-wrapper .sa-question__select::-ms-expand{display:none}.sa-question__select-wrapper .sa-question__select:focus{outline:0;box-shadow:none}.sa-question__select-wrapper .sa-question__select:disabled{color:var(--disabled-color, #b0b0b0)}.sa-question__select-wrapper:before{margin-top:-4px;top:50%;right:10px;z-index:1;content:"";position:absolute;width:4px;height:4px;border-right:2px solid var(--text-color, #404040);border-bottom:2px solid var(--text-color, #404040);transform:rotate(45deg);box-sizing:content-box;pointer-events:none}.sa-question__filter{display:inline-block;padding:0 1em}.sa-question__filter-text{vertical-align:middle;margin-top:1px;line-height:32px}@font-face{font-family:"Raleway";font-style:normal;font-weight:400;src:local("Raleway"),local("Raleway-Regular"),url(https://fonts.gstatic.com/s/raleway/v14/1Ptug8zYS_SKggPNyCMIT5lu.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Raleway";font-style:normal;font-weight:400;src:local("Raleway"),local("Raleway-Regular"),url(https://fonts.gstatic.com/s/raleway/v14/1Ptug8zYS_SKggPNyC0ITw.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"Raleway";font-style:normal;font-weight:700;src:local("Raleway Bold"),local("Raleway-Bold"),url(https://fonts.gstatic.com/s/raleway/v14/1Ptrg8zYS_SKggPNwJYtWqhPAMif.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Raleway";font-style:normal;font-weight:700;src:local("Raleway Bold"),local("Raleway-Bold"),url(https://fonts.gstatic.com/s/raleway/v14/1Ptrg8zYS_SKggPNwJYtWqZPAA.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - SurveyJS Dashboard library v2.3.
|
|
2
|
+
* surveyjs - SurveyJS Dashboard library v2.3.16
|
|
3
3
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
|
-
* License:
|
|
4
|
+
* License: SEE LICENSE IN LICENSE
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
/**
|
package/survey.analytics.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - SurveyJS Dashboard library v2.3.
|
|
2
|
+
* surveyjs - SurveyJS Dashboard library v2.3.16
|
|
3
3
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
|
-
* License:
|
|
4
|
+
* License: SEE LICENSE IN LICENSE
|
|
5
5
|
*/
|
|
6
6
|
/*!**************************************************************************************************************************************************************************!*\
|
|
7
7
|
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./src/visualizerBase.scss ***!
|
package/survey.analytics.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - SurveyJS Dashboard library v2.3.
|
|
2
|
+
* surveyjs - SurveyJS Dashboard library v2.3.16
|
|
3
3
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
|
-
* License:
|
|
4
|
+
* License: SEE LICENSE IN LICENSE
|
|
5
5
|
*/
|
|
6
6
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
7
7
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
@@ -12738,14 +12738,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12738
12738
|
|
|
12739
12739
|
|
|
12740
12740
|
var plotlyChartTypes = {
|
|
12741
|
-
"boolean": _legacy__WEBPACK_IMPORTED_MODULE_8__.BooleanPlotly.types,
|
|
12742
|
-
"number": _legacy__WEBPACK_IMPORTED_MODULE_8__.GaugePlotly.types,
|
|
12743
|
-
"selectBase": _legacy__WEBPACK_IMPORTED_MODULE_8__.SelectBasePlotly.types,
|
|
12744
|
-
"histogram": _legacy__WEBPACK_IMPORTED_MODULE_8__.HistogramPlotly.types,
|
|
12745
|
-
"matrix": _legacy__WEBPACK_IMPORTED_MODULE_8__.MatrixPlotly.types,
|
|
12746
|
-
"matrixDropdownGrouped": _legacy__WEBPACK_IMPORTED_MODULE_8__.MatrixDropdownGroupedPlotly.types,
|
|
12747
|
-
"pivot": _legacy__WEBPACK_IMPORTED_MODULE_8__.PivotPlotly.types,
|
|
12748
|
-
"ranking": [].concat(_legacy__WEBPACK_IMPORTED_MODULE_8__.SelectBasePlotly.types).concat(["radar"]),
|
|
12741
|
+
"boolean": function () { return _legacy__WEBPACK_IMPORTED_MODULE_8__.BooleanPlotly.types; },
|
|
12742
|
+
"number": function () { return _legacy__WEBPACK_IMPORTED_MODULE_8__.GaugePlotly.types; },
|
|
12743
|
+
"selectBase": function () { return _legacy__WEBPACK_IMPORTED_MODULE_8__.SelectBasePlotly.types; },
|
|
12744
|
+
"histogram": function () { return _legacy__WEBPACK_IMPORTED_MODULE_8__.HistogramPlotly.types; },
|
|
12745
|
+
"matrix": function () { return _legacy__WEBPACK_IMPORTED_MODULE_8__.MatrixPlotly.types; },
|
|
12746
|
+
"matrixDropdownGrouped": function () { return _legacy__WEBPACK_IMPORTED_MODULE_8__.MatrixDropdownGroupedPlotly.types; },
|
|
12747
|
+
"pivot": function () { return _legacy__WEBPACK_IMPORTED_MODULE_8__.PivotPlotly.types; },
|
|
12748
|
+
"ranking": function () { return [].concat(_legacy__WEBPACK_IMPORTED_MODULE_8__.SelectBasePlotly.types).concat(["radar"]); },
|
|
12749
12749
|
};
|
|
12750
12750
|
var PlotlyChartAdapter = /** @class */ (function () {
|
|
12751
12751
|
function PlotlyChartAdapter(model) {
|
|
@@ -12795,8 +12795,11 @@ var PlotlyChartAdapter = /** @class */ (function () {
|
|
|
12795
12795
|
});
|
|
12796
12796
|
PlotlyChartAdapter.prototype.getChartTypes = function () {
|
|
12797
12797
|
var visualizerType = this.model.type;
|
|
12798
|
-
var chartCtypes =
|
|
12799
|
-
|
|
12798
|
+
var chartCtypes = [];
|
|
12799
|
+
if (plotlyChartTypes[visualizerType]) {
|
|
12800
|
+
chartCtypes = plotlyChartTypes[visualizerType]();
|
|
12801
|
+
}
|
|
12802
|
+
return chartCtypes;
|
|
12800
12803
|
};
|
|
12801
12804
|
PlotlyChartAdapter.prototype.create = function (chartNode) {
|
|
12802
12805
|
return (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__awaiter)(this, void 0, void 0, function () {
|