survey-analytics 2.3.11 → 2.3.13
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 +18 -18
- package/fesm/shared.mjs.map +1 -1
- package/fesm/shared2.mjs +1 -1
- package/fesm/survey.analytics.core.mjs +1 -1
- package/fesm/survey.analytics.mjs +1 -1
- package/fesm/survey.analytics.mongo.mjs +1 -1
- package/fesm/survey.analytics.tabulator.mjs +32 -7
- package/fesm/survey.analytics.tabulator.mjs.map +1 -1
- package/package.json +2 -2
- package/survey-analytics-tabulator.types/tables/table.d.ts +18 -0
- package/survey-analytics-tabulator.types/tables/tabulator.d.ts +2 -0
- package/survey.analytics.core.css +1 -1
- package/survey.analytics.core.js +18 -18
- package/survey.analytics.core.js.map +1 -1
- package/survey.analytics.core.min.css +1 -1
- package/survey.analytics.core.min.js +1 -1
- package/survey.analytics.core.min.js.LICENSE.txt +1 -1
- package/survey.analytics.css +1 -1
- package/survey.analytics.js +18 -18
- 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 +50 -25
- package/survey.analytics.tabulator.js.map +1 -1
- package/survey.analytics.tabulator.min.css +1 -1
- package/survey.analytics.tabulator.min.js +1 -1
- package/survey.analytics.tabulator.min.js.LICENSE.txt +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - SurveyJS Dashboard library v2.3.
|
|
2
|
+
* surveyjs - SurveyJS Dashboard library v2.3.13
|
|
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
|
*/
|
|
@@ -1256,7 +1256,7 @@ var germanStrings = {
|
|
|
1256
1256
|
// "Remove rows"
|
|
1257
1257
|
removeRows: "Zeilen entfernen",
|
|
1258
1258
|
// "Show"
|
|
1259
|
-
showLabel: "
|
|
1259
|
+
showLabel: "Anzeigen",
|
|
1260
1260
|
// "entries"
|
|
1261
1261
|
entriesLabel: "Einträge",
|
|
1262
1262
|
// "Texts in table"
|
|
@@ -1268,13 +1268,13 @@ var germanStrings = {
|
|
|
1268
1268
|
// "Average"
|
|
1269
1269
|
visualizer_number: "Durchschnitt",
|
|
1270
1270
|
// "Table"
|
|
1271
|
-
visualizer_choices: "
|
|
1271
|
+
visualizer_choices: "Tabelle",
|
|
1272
1272
|
// "Chart"
|
|
1273
1273
|
visualizer_selectBase: "Diagrammtyp",
|
|
1274
1274
|
// [Auto-translated] "Chart"
|
|
1275
1275
|
visualizer_matrix: "Diagramm",
|
|
1276
|
-
//
|
|
1277
|
-
chartType_bar: "
|
|
1276
|
+
// "Bar"
|
|
1277
|
+
chartType_bar: "Balkendiagramm",
|
|
1278
1278
|
// "Vertical Bar"
|
|
1279
1279
|
chartType_vbar: "Balkendiagramm vertikal",
|
|
1280
1280
|
// "Stacked Bar"
|
|
@@ -1334,7 +1334,7 @@ var germanStrings = {
|
|
|
1334
1334
|
// "CSV"
|
|
1335
1335
|
csvDownloadCaption: "CSV",
|
|
1336
1336
|
// "Download plot as a PNG file"
|
|
1337
|
-
saveDiagramAsPNG: "Diagramm als
|
|
1337
|
+
saveDiagramAsPNG: "Diagramm als PNG herunterladen",
|
|
1338
1338
|
// "Hide empty answers"
|
|
1339
1339
|
hideEmptyAnswers: "Leere Antworten ausblenden",
|
|
1340
1340
|
// "Show empty answers"
|
|
@@ -1352,7 +1352,7 @@ var germanStrings = {
|
|
|
1352
1352
|
// "Show missing answers"
|
|
1353
1353
|
showMissingAnswers: "Fehlende Antworten anzeigen",
|
|
1354
1354
|
// "Missing answers"
|
|
1355
|
-
missingAnswersLabel: "
|
|
1355
|
+
missingAnswersLabel: "Fehlende Antworten",
|
|
1356
1356
|
// "This question type is not visualized yet"
|
|
1357
1357
|
noVisualizerForQuestion: "Für diesen Fragetyp gibt es noch keine Visualisierung.",
|
|
1358
1358
|
// "There are no results yet"
|
|
@@ -1373,20 +1373,20 @@ var germanStrings = {
|
|
|
1373
1373
|
statistics_chart: "Diagramm",
|
|
1374
1374
|
// "Responses"
|
|
1375
1375
|
responses: "Antworten",
|
|
1376
|
-
//
|
|
1377
|
-
visualizer_nps: "NPS
|
|
1376
|
+
// "NPS"
|
|
1377
|
+
visualizer_nps: "NPS",
|
|
1378
1378
|
// [Auto-translated] "Chart"
|
|
1379
1379
|
visualizer_boolean: "Diagramm",
|
|
1380
|
-
//
|
|
1381
|
-
visualizer_options: "
|
|
1382
|
-
//
|
|
1383
|
-
npsScore: "NPS
|
|
1384
|
-
//
|
|
1380
|
+
// "Table"
|
|
1381
|
+
visualizer_options: "Tabelle",
|
|
1382
|
+
// "NPS"
|
|
1383
|
+
npsScore: "NPS",
|
|
1384
|
+
// "Promoters"
|
|
1385
1385
|
npsPromoters: "Promotoren",
|
|
1386
|
-
//
|
|
1387
|
-
npsPassives: "Passive
|
|
1388
|
-
//
|
|
1389
|
-
npsDetractors: "
|
|
1386
|
+
// "Passives"
|
|
1387
|
+
npsPassives: "Passive",
|
|
1388
|
+
// "Detractors"
|
|
1389
|
+
npsDetractors: "Detraktoren",
|
|
1390
1390
|
// [Auto-translated] "Category (X Axis):"
|
|
1391
1391
|
axisXSelectorTitle: "Kategorie (X-Achse):",
|
|
1392
1392
|
// [Auto-translated] "Legend (Series):"
|
|
@@ -4466,6 +4466,9 @@ _tableextensions__WEBPACK_IMPORTED_MODULE_2__.TableExtensions.registerExtension(
|
|
|
4466
4466
|
name: "showentries",
|
|
4467
4467
|
visibleIndex: 3,
|
|
4468
4468
|
render: function (table) {
|
|
4469
|
+
if (table.options.paginationEnabled === false) {
|
|
4470
|
+
return _utils__WEBPACK_IMPORTED_MODULE_1__.DocumentHelper.createElement("div");
|
|
4471
|
+
}
|
|
4469
4472
|
function getEntriesDropdown(table) {
|
|
4470
4473
|
var el = _utils__WEBPACK_IMPORTED_MODULE_1__.DocumentHelper.createElement("select");
|
|
4471
4474
|
var optionsValues = table.paginationSizeSelector || ["1", "5", "10", "25", "50", "75", "100"];
|
|
@@ -4967,11 +4970,14 @@ var Table = /** @class */ (function () {
|
|
|
4967
4970
|
Table.prototype.getLocales = function () {
|
|
4968
4971
|
return [].concat(this._survey.getUsedLocales());
|
|
4969
4972
|
};
|
|
4970
|
-
Table.prototype.
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4973
|
+
Table.prototype.supportSoftRefresh = function () {
|
|
4974
|
+
return false;
|
|
4975
|
+
};
|
|
4976
|
+
Table.prototype.softRefresh = function () {
|
|
4977
|
+
this.hardRefresh();
|
|
4978
|
+
};
|
|
4979
|
+
Table.prototype.hardRefresh = function () {
|
|
4980
|
+
this.initTableData(this.data);
|
|
4975
4981
|
if (this.isRendered) {
|
|
4976
4982
|
this.currentPageNumber = this.getPageNumber();
|
|
4977
4983
|
var targetNode = this.renderResult;
|
|
@@ -4981,6 +4987,15 @@ var Table = /** @class */ (function () {
|
|
|
4981
4987
|
this.setPageNumber(this.currentPageNumber);
|
|
4982
4988
|
}
|
|
4983
4989
|
};
|
|
4990
|
+
Table.prototype.refresh = function (hard) {
|
|
4991
|
+
if (hard === void 0) { hard = false; }
|
|
4992
|
+
if (hard || !this.supportSoftRefresh()) {
|
|
4993
|
+
this.hardRefresh();
|
|
4994
|
+
}
|
|
4995
|
+
else {
|
|
4996
|
+
this.softRefresh();
|
|
4997
|
+
}
|
|
4998
|
+
};
|
|
4984
4999
|
Table.prototype.destroy = function () {
|
|
4985
5000
|
this.clearCreatedRows();
|
|
4986
5001
|
this.extensions.destroy();
|
|
@@ -5334,6 +5349,14 @@ var Tabulator = /** @class */ (function (_super) {
|
|
|
5334
5349
|
enumerable: false,
|
|
5335
5350
|
configurable: true
|
|
5336
5351
|
});
|
|
5352
|
+
Tabulator.prototype.supportSoftRefresh = function () {
|
|
5353
|
+
return true;
|
|
5354
|
+
};
|
|
5355
|
+
Tabulator.prototype.softRefresh = function () {
|
|
5356
|
+
if (!this.isRendered)
|
|
5357
|
+
return;
|
|
5358
|
+
this.layout(true);
|
|
5359
|
+
};
|
|
5337
5360
|
Tabulator.prototype.render = function (targetNode) {
|
|
5338
5361
|
var _this = this;
|
|
5339
5362
|
_super.prototype.render.call(this, targetNode);
|
|
@@ -5352,7 +5375,8 @@ var Tabulator = /** @class */ (function (_super) {
|
|
|
5352
5375
|
Object.assign(config, {
|
|
5353
5376
|
data: data,
|
|
5354
5377
|
layout: "fitColumns",
|
|
5355
|
-
pagination:
|
|
5378
|
+
pagination: this.options.paginationEnabled !== false,
|
|
5379
|
+
paginationMode: "local",
|
|
5356
5380
|
paginationSize: this.currentPageSize,
|
|
5357
5381
|
movableColumns: true,
|
|
5358
5382
|
// maxHeight: "100%",
|
|
@@ -5380,7 +5404,8 @@ var Tabulator = /** @class */ (function (_super) {
|
|
|
5380
5404
|
delete config.data;
|
|
5381
5405
|
config.pagination = true;
|
|
5382
5406
|
config.paginationMode = "remote";
|
|
5383
|
-
config.
|
|
5407
|
+
config.paginationSize = this.currentPageSize,
|
|
5408
|
+
config.ajaxFiltering = true; // Tabulator v4.8
|
|
5384
5409
|
config.filterMode = "remote"; // Tabulator v6.2
|
|
5385
5410
|
config.ajaxSorting = true; // Tabulator v4.8
|
|
5386
5411
|
config.sortMode = "remote"; // Tabulator v6.2
|