survey-analytics 2.5.35 → 2.5.37

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.
Files changed (61) hide show
  1. package/fesm/shared.mjs +1 -175
  2. package/fesm/shared.mjs.map +1 -1
  3. package/fesm/shared2.mjs +5 -1
  4. package/fesm/shared2.mjs.map +1 -1
  5. package/fesm/survey.analytics.core.mjs +1 -1
  6. package/fesm/survey.analytics.mjs +1 -1
  7. package/fesm/survey.analytics.mongo.mjs +1 -1
  8. package/fesm/survey.analytics.tabulator.mjs +22 -7
  9. package/fesm/survey.analytics.tabulator.mjs.map +1 -1
  10. package/package.json +2 -2
  11. package/survey-analytics-tabulator.types/analytics-localization/arabic.d.ts +0 -6
  12. package/survey-analytics-tabulator.types/analytics-localization/dutch.d.ts +0 -6
  13. package/survey-analytics-tabulator.types/analytics-localization/english.d.ts +0 -6
  14. package/survey-analytics-tabulator.types/analytics-localization/farsi.d.ts +0 -6
  15. package/survey-analytics-tabulator.types/analytics-localization/finnish.d.ts +0 -6
  16. package/survey-analytics-tabulator.types/analytics-localization/french.d.ts +0 -6
  17. package/survey-analytics-tabulator.types/analytics-localization/german.d.ts +0 -6
  18. package/survey-analytics-tabulator.types/analytics-localization/italian.d.ts +0 -6
  19. package/survey-analytics-tabulator.types/analytics-localization/japanese.d.ts +0 -6
  20. package/survey-analytics-tabulator.types/analytics-localization/norwegian.d.ts +0 -6
  21. package/survey-analytics-tabulator.types/analytics-localization/polish.d.ts +0 -6
  22. package/survey-analytics-tabulator.types/analytics-localization/portuguese.d.ts +0 -6
  23. package/survey-analytics-tabulator.types/analytics-localization/russian.d.ts +0 -6
  24. package/survey-analytics-tabulator.types/analytics-localization/spanish.d.ts +0 -6
  25. package/survey-analytics-tabulator.types/analytics-localization/swedish.d.ts +0 -6
  26. package/survey-analytics-tabulator.types/localizationManager.d.ts +0 -6
  27. package/survey-analytics-tabulator.types/tables/table.d.ts +10 -0
  28. package/survey-analytics.types/alternativeVizualizersWrapper.d.ts +1 -0
  29. package/survey-analytics.types/analytics-localization/arabic.d.ts +0 -6
  30. package/survey-analytics.types/analytics-localization/dutch.d.ts +0 -6
  31. package/survey-analytics.types/analytics-localization/english.d.ts +0 -6
  32. package/survey-analytics.types/analytics-localization/farsi.d.ts +0 -6
  33. package/survey-analytics.types/analytics-localization/finnish.d.ts +0 -6
  34. package/survey-analytics.types/analytics-localization/french.d.ts +0 -6
  35. package/survey-analytics.types/analytics-localization/german.d.ts +0 -6
  36. package/survey-analytics.types/analytics-localization/italian.d.ts +0 -6
  37. package/survey-analytics.types/analytics-localization/japanese.d.ts +0 -6
  38. package/survey-analytics.types/analytics-localization/norwegian.d.ts +0 -6
  39. package/survey-analytics.types/analytics-localization/polish.d.ts +0 -6
  40. package/survey-analytics.types/analytics-localization/portuguese.d.ts +0 -6
  41. package/survey-analytics.types/analytics-localization/russian.d.ts +0 -6
  42. package/survey-analytics.types/analytics-localization/spanish.d.ts +0 -6
  43. package/survey-analytics.types/analytics-localization/swedish.d.ts +0 -6
  44. package/survey-analytics.types/dataProvider.d.ts +1 -0
  45. package/survey-analytics.types/localizationManager.d.ts +0 -6
  46. package/survey-analytics.types/visualizationPanel.d.ts +1 -0
  47. package/survey-analytics.types/visualizerBase.d.ts +2 -0
  48. package/survey.analytics.core.css.map +1 -1
  49. package/survey.analytics.core.js +5 -175
  50. package/survey.analytics.core.js.map +1 -1
  51. package/survey.analytics.core.min.js +2 -2
  52. package/survey.analytics.css.map +1 -1
  53. package/survey.analytics.js +5 -175
  54. package/survey.analytics.js.map +1 -1
  55. package/survey.analytics.min.js +2 -2
  56. package/survey.analytics.mongo.js +1 -1
  57. package/survey.analytics.mongo.min.js +1 -1
  58. package/survey.analytics.tabulator.css.map +1 -1
  59. package/survey.analytics.tabulator.js +26 -184
  60. package/survey.analytics.tabulator.js.map +1 -1
  61. package/survey.analytics.tabulator.min.js +2 -2
@@ -1,5 +1,5 @@
1
1
  /*!
2
- surveyjs - SurveyJS Dashboard library v2.5.35
2
+ surveyjs - SurveyJS Dashboard library v2.5.37
3
3
  Copyright (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  License: SEE LICENSE IN LICENSE
5
5
  */
@@ -12,9 +12,6 @@ License: SEE LICENSE IN LICENSE
12
12
  // Uncomment the line below if you create a custom dictionary
13
13
  // import { setupLocale } from "../localizationManager";
14
14
  var englishStrings = {
15
- groupButton: "Group By Me",
16
- ungroupButton: "Ungroup By Me",
17
- selectButton: "Select Me",
18
15
  hideColumn: "Hide column",
19
16
  showColumn: "Show column",
20
17
  makePrivateColumn: "Make column private",
@@ -78,7 +75,6 @@ License: SEE LICENSE IN LICENSE
78
75
  showPerColumns: "Per Columns",
79
76
  answer: "Answer",
80
77
  correctAnswer: "Correct answer: ",
81
- percent: "Percent",
82
78
  percentage: "Percentage",
83
79
  statistics_chart: "Chart",
84
80
  responses: "Responses",
@@ -94,13 +90,11 @@ License: SEE LICENSE IN LICENSE
94
90
  axisXAlternativeSelectorTitle: "Segments:",
95
91
  axisYAlternativeSelectorTitle: "Groups:",
96
92
  notSelected: "Not selected",
97
- intervalMode_default: "Default",
98
93
  intervalMode_decades: "Decades",
99
94
  intervalMode_years: "Years",
100
95
  intervalMode_quarters: "Quarters",
101
96
  intervalMode_months: "Months",
102
97
  intervalMode_days: "Days",
103
- intervalMode_custom: "Custom",
104
98
  intervalMode_auto: "Auto",
105
99
  intervalModeTitle: "Intervals:",
106
100
  noRunningTotals: "Show individual values",
@@ -186,12 +180,6 @@ License: SEE LICENSE IN LICENSE
186
180
  setupLocale({ localeCode: "en", strings: englishStrings, nativeName: "English" });
187
181
 
188
182
  var farsiStrings = {
189
- // "Group By Me"
190
- groupButton: "گروه بندی با",
191
- // "Ungroup By Me"
192
- ungroupButton: "حذف گروه",
193
- // "Select Me"
194
- selectButton: "انتخاب",
195
183
  // "Hide column"
196
184
  hideColumn: "مخفی کردن ستون",
197
185
  // "Show column"
@@ -318,8 +306,6 @@ License: SEE LICENSE IN LICENSE
318
306
  answer: "پاسخ",
319
307
  // "Correct answer: "
320
308
  correctAnswer: "پاسخ صحیح: ",
321
- // "Percent"
322
- percent: "درصد",
323
309
  // [Auto-translated] "Percentage"
324
310
  percentage: "درصد",
325
311
  // [Auto-translated] "Chart"
@@ -350,8 +336,6 @@ License: SEE LICENSE IN LICENSE
350
336
  axisYAlternativeSelectorTitle: "گروه:",
351
337
  // [Auto-translated] "Not selected"
352
338
  notSelected: "انتخاب نشده",
353
- // [Auto-translated] "Default"
354
- intervalMode_default: "پیش فرض",
355
339
  // [Auto-translated] "Decades"
356
340
  intervalMode_decades: "دهه",
357
341
  // [Auto-translated] "Years"
@@ -362,8 +346,6 @@ License: SEE LICENSE IN LICENSE
362
346
  intervalMode_months: "ماه‌ها",
363
347
  // [Auto-translated] "Days"
364
348
  intervalMode_days: "روز‌ها",
365
- // [Auto-translated] "Custom"
366
- intervalMode_custom: "سفارشی",
367
349
  // [Auto-translated] "Auto"
368
350
  intervalMode_auto: "خودکار",
369
351
  // [Auto-translated] "Intervals:"
@@ -386,12 +368,6 @@ License: SEE LICENSE IN LICENSE
386
368
  setupLocale({ localeCode: "fa", strings: farsiStrings, nativeName: "فارسی" });
387
369
 
388
370
  var frenchStrings = {
389
- // "Group By Me"
390
- groupButton: "Grouper",
391
- // "Ungroup By Me"
392
- ungroupButton: "Dissocier",
393
- // "Select Me"
394
- selectButton: "Sélectionner",
395
371
  // "Hide column"
396
372
  hideColumn: "Masquer la colonne",
397
373
  // "Show column"
@@ -518,8 +494,6 @@ License: SEE LICENSE IN LICENSE
518
494
  answer: "Réponse",
519
495
  // "Correct answer: "
520
496
  correctAnswer: "Réponse correcte: ",
521
- // "Percent"
522
- percent: "Pourcentage",
523
497
  // [Auto-translated] "Percentage"
524
498
  percentage: "Pourcentage",
525
499
  // [Auto-translated] "Chart"
@@ -550,8 +524,6 @@ License: SEE LICENSE IN LICENSE
550
524
  axisYAlternativeSelectorTitle: "Groupes:",
551
525
  // [Auto-translated] "Not selected"
552
526
  notSelected: "Non sélectionné",
553
- // [Auto-translated] "Default"
554
- intervalMode_default: "Par défaut",
555
527
  // [Auto-translated] "Decades"
556
528
  intervalMode_decades: "Décennies",
557
529
  // [Auto-translated] "Years"
@@ -562,8 +534,6 @@ License: SEE LICENSE IN LICENSE
562
534
  intervalMode_months: "Mois",
563
535
  // [Auto-translated] "Days"
564
536
  intervalMode_days: "Jours",
565
- // [Auto-translated] "Custom"
566
- intervalMode_custom: "Personnalisé",
567
537
  // [Auto-translated] "Auto"
568
538
  intervalMode_auto: "Auto",
569
539
  // [Auto-translated] "Intervals:"
@@ -586,12 +556,6 @@ License: SEE LICENSE IN LICENSE
586
556
  setupLocale({ localeCode: "fr", strings: frenchStrings, nativeName: "Français" });
587
557
 
588
558
  var germanStrings = {
589
- // "Group By Me"
590
- groupButton: "Gruppieren",
591
- // "Ungroup By Me"
592
- ungroupButton: "Gruppierung aufheben",
593
- // "Select Me"
594
- selectButton: "Mich auswählen",
595
559
  // "Hide column"
596
560
  hideColumn: "Spalte ausblenden",
597
561
  // "Show column"
@@ -718,8 +682,6 @@ License: SEE LICENSE IN LICENSE
718
682
  answer: "Antwort",
719
683
  // "Correct answer: "
720
684
  correctAnswer: "Korrekte Antwort: ",
721
- // "Percent"
722
- percent: "Prozent",
723
685
  // [Auto-translated] "Percentage"
724
686
  percentage: "Prozentsatz",
725
687
  // [Auto-translated] "Chart"
@@ -750,8 +712,6 @@ License: SEE LICENSE IN LICENSE
750
712
  axisYAlternativeSelectorTitle: "Gruppen:",
751
713
  // [Auto-translated] "Not selected"
752
714
  notSelected: "Nicht ausgewählt",
753
- // [Auto-translated] "Default"
754
- intervalMode_default: "Vorgabe",
755
715
  // [Auto-translated] "Decades"
756
716
  intervalMode_decades: "Dekaden",
757
717
  // [Auto-translated] "Years"
@@ -762,8 +722,6 @@ License: SEE LICENSE IN LICENSE
762
722
  intervalMode_months: "Monate",
763
723
  // [Auto-translated] "Days"
764
724
  intervalMode_days: "Tage",
765
- // [Auto-translated] "Custom"
766
- intervalMode_custom: "Gewohnheit",
767
725
  // [Auto-translated] "Auto"
768
726
  intervalMode_auto: "Auto",
769
727
  // [Auto-translated] "Intervals:"
@@ -786,12 +744,6 @@ License: SEE LICENSE IN LICENSE
786
744
  setupLocale({ localeCode: "de", strings: germanStrings, nativeName: "Deutsch" });
787
745
 
788
746
  var norwegianStrings = {
789
- // "Group By Me"
790
- groupButton: "Grupper",
791
- // "Ungroup By Me"
792
- ungroupButton: "Opphev gruppering",
793
- // "Select Me"
794
- selectButton: "Velg",
795
747
  // "Hide column"
796
748
  hideColumn: "Skjul kolonne",
797
749
  // "Show column"
@@ -918,8 +870,6 @@ License: SEE LICENSE IN LICENSE
918
870
  answer: "Svare",
919
871
  // "Correct answer: "
920
872
  correctAnswer: "Riktig svar: ",
921
- // "Percent"
922
- percent: "Prosent",
923
873
  // [Auto-translated] "Percentage"
924
874
  percentage: "Prosent",
925
875
  // [Auto-translated] "Chart"
@@ -950,8 +900,6 @@ License: SEE LICENSE IN LICENSE
950
900
  axisYAlternativeSelectorTitle: "Grupper:",
951
901
  // [Auto-translated] "Not selected"
952
902
  notSelected: "Ikke valgt",
953
- // [Auto-translated] "Default"
954
- intervalMode_default: "Standard",
955
903
  // [Auto-translated] "Decades"
956
904
  intervalMode_decades: "Tiår",
957
905
  // [Auto-translated] "Years"
@@ -962,8 +910,6 @@ License: SEE LICENSE IN LICENSE
962
910
  intervalMode_months: "Måneder",
963
911
  // [Auto-translated] "Days"
964
912
  intervalMode_days: "Dager",
965
- // [Auto-translated] "Custom"
966
- intervalMode_custom: "Skikk",
967
913
  // [Auto-translated] "Auto"
968
914
  intervalMode_auto: "Auto",
969
915
  // [Auto-translated] "Intervals:"
@@ -986,12 +932,6 @@ License: SEE LICENSE IN LICENSE
986
932
  setupLocale({ localeCode: "no", strings: norwegianStrings, nativeName: "Norsk" });
987
933
 
988
934
  var portugueseStrings = {
989
- // "Group By Me"
990
- groupButton: "Agrupar Por Mim",
991
- // "Ungroup By Me"
992
- ungroupButton: "Desagrupar Por Mim",
993
- // "Select Me"
994
- selectButton: "Selecionar",
995
935
  // "Hide column"
996
936
  hideColumn: "Esconder coluna",
997
937
  // "Show column"
@@ -1118,8 +1058,6 @@ License: SEE LICENSE IN LICENSE
1118
1058
  answer: "Resposta",
1119
1059
  // "Correct answer: "
1120
1060
  correctAnswer: "Resposta correta: ",
1121
- // "Percent"
1122
- percent: "Percentagem",
1123
1061
  // [Auto-translated] "Percentage"
1124
1062
  percentage: "Porcentagem",
1125
1063
  // [Auto-translated] "Chart"
@@ -1150,8 +1088,6 @@ License: SEE LICENSE IN LICENSE
1150
1088
  axisYAlternativeSelectorTitle: "Grupos:",
1151
1089
  // [Auto-translated] "Not selected"
1152
1090
  notSelected: "Não selecionado",
1153
- // [Auto-translated] "Default"
1154
- intervalMode_default: "Inadimplência",
1155
1091
  // [Auto-translated] "Decades"
1156
1092
  intervalMode_decades: "Décadas",
1157
1093
  // [Auto-translated] "Years"
@@ -1162,8 +1098,6 @@ License: SEE LICENSE IN LICENSE
1162
1098
  intervalMode_months: "Meses",
1163
1099
  // [Auto-translated] "Days"
1164
1100
  intervalMode_days: "Dias",
1165
- // [Auto-translated] "Custom"
1166
- intervalMode_custom: "Costume",
1167
1101
  // [Auto-translated] "Auto"
1168
1102
  intervalMode_auto: "Automático",
1169
1103
  // [Auto-translated] "Intervals:"
@@ -1186,12 +1120,6 @@ License: SEE LICENSE IN LICENSE
1186
1120
  setupLocale({ localeCode: "pt", strings: portugueseStrings, nativeName: "Português" });
1187
1121
 
1188
1122
  var russianStrings = {
1189
- // "Group By Me"
1190
- groupButton: "Сгруппировать",
1191
- // "Ungroup By Me"
1192
- ungroupButton: "Разгруппировать",
1193
- // "Select Me"
1194
- selectButton: "Выбрать",
1195
1123
  // "Hide column"
1196
1124
  hideColumn: "Скрыть столбец",
1197
1125
  // "Show column"
@@ -1318,8 +1246,6 @@ License: SEE LICENSE IN LICENSE
1318
1246
  answer: "Ответ",
1319
1247
  // "Correct answer: "
1320
1248
  correctAnswer: "Правильный ответ: ",
1321
- // "Percent"
1322
- percent: "процентов",
1323
1249
  // [Auto-translated] "Percentage"
1324
1250
  percentage: "Процент",
1325
1251
  // [Auto-translated] "Chart"
@@ -1350,8 +1276,6 @@ License: SEE LICENSE IN LICENSE
1350
1276
  axisYAlternativeSelectorTitle: "Группы:",
1351
1277
  // [Auto-translated] "Not selected"
1352
1278
  notSelected: "Не выбран",
1353
- // [Auto-translated] "Default"
1354
- intervalMode_default: "По умолчанию",
1355
1279
  // [Auto-translated] "Decades"
1356
1280
  intervalMode_decades: "Десятилетий",
1357
1281
  // [Auto-translated] "Years"
@@ -1362,8 +1286,6 @@ License: SEE LICENSE IN LICENSE
1362
1286
  intervalMode_months: "Месяцы",
1363
1287
  // [Auto-translated] "Days"
1364
1288
  intervalMode_days: "Дни недели",
1365
- // [Auto-translated] "Custom"
1366
- intervalMode_custom: "Обычай",
1367
1289
  // [Auto-translated] "Auto"
1368
1290
  intervalMode_auto: "Авто",
1369
1291
  // [Auto-translated] "Intervals:"
@@ -1386,12 +1308,6 @@ License: SEE LICENSE IN LICENSE
1386
1308
  setupLocale({ localeCode: "ru", strings: russianStrings, nativeName: "Русский" });
1387
1309
 
1388
1310
  var dutchStrings = {
1389
- // "Group By Me"
1390
- groupButton: "Groeperen op",
1391
- // "Ungroup By Me"
1392
- ungroupButton: "Groepering verwijderen",
1393
- // "Select Me"
1394
- selectButton: "Selecteer mij",
1395
1311
  // "Hide column"
1396
1312
  hideColumn: "Kolom verbergen",
1397
1313
  // "Show column"
@@ -1518,8 +1434,6 @@ License: SEE LICENSE IN LICENSE
1518
1434
  answer: "Antwoorden",
1519
1435
  // "Correct answer: "
1520
1436
  correctAnswer: "Goed antwoord: ",
1521
- // "Percent"
1522
- percent: "Procent",
1523
1437
  // [Auto-translated] "Percentage"
1524
1438
  percentage: "Percentage",
1525
1439
  // [Auto-translated] "Chart"
@@ -1550,8 +1464,6 @@ License: SEE LICENSE IN LICENSE
1550
1464
  axisYAlternativeSelectorTitle: "Groepen:",
1551
1465
  // [Auto-translated] "Not selected"
1552
1466
  notSelected: "Niet geselecteerd",
1553
- // [Auto-translated] "Default"
1554
- intervalMode_default: "Verstek",
1555
1467
  // [Auto-translated] "Decades"
1556
1468
  intervalMode_decades: "Decennia",
1557
1469
  // [Auto-translated] "Years"
@@ -1562,8 +1474,6 @@ License: SEE LICENSE IN LICENSE
1562
1474
  intervalMode_months: "Maanden",
1563
1475
  // [Auto-translated] "Days"
1564
1476
  intervalMode_days: "Dagen",
1565
- // [Auto-translated] "Custom"
1566
- intervalMode_custom: "Gewoonte",
1567
1477
  // [Auto-translated] "Auto"
1568
1478
  intervalMode_auto: "Auto",
1569
1479
  // [Auto-translated] "Intervals:"
@@ -1586,12 +1496,6 @@ License: SEE LICENSE IN LICENSE
1586
1496
  setupLocale({ localeCode: "nl", strings: dutchStrings, nativeName: "Nederlands" });
1587
1497
 
1588
1498
  var spanishStrings = {
1589
- // "Group By Me"
1590
- groupButton: "Grupo Por Mí",
1591
- // "Ungroup By Me"
1592
- ungroupButton: "Desagrupar por mí",
1593
- // "Select Me"
1594
- selectButton: "Seleccionarme",
1595
1499
  // "Hide column"
1596
1500
  hideColumn: "Ocultar columna",
1597
1501
  // "Show column"
@@ -1718,8 +1622,6 @@ License: SEE LICENSE IN LICENSE
1718
1622
  answer: "Respuesta",
1719
1623
  // "Correct answer: "
1720
1624
  correctAnswer: "Respuesta correcta: ",
1721
- // "Percent"
1722
- percent: "Por ciento",
1723
1625
  // [Auto-translated] "Percentage"
1724
1626
  percentage: "Porcentaje",
1725
1627
  // [Auto-translated] "Chart"
@@ -1750,8 +1652,6 @@ License: SEE LICENSE IN LICENSE
1750
1652
  axisYAlternativeSelectorTitle: "Grupos:",
1751
1653
  // [Auto-translated] "Not selected"
1752
1654
  notSelected: "No seleccionado",
1753
- // [Auto-translated] "Default"
1754
- intervalMode_default: "Predeterminado",
1755
1655
  // [Auto-translated] "Decades"
1756
1656
  intervalMode_decades: "Décadas",
1757
1657
  // [Auto-translated] "Years"
@@ -1762,8 +1662,6 @@ License: SEE LICENSE IN LICENSE
1762
1662
  intervalMode_months: "Meses",
1763
1663
  // [Auto-translated] "Days"
1764
1664
  intervalMode_days: "Días",
1765
- // [Auto-translated] "Custom"
1766
- intervalMode_custom: "Costumbre",
1767
1665
  // [Auto-translated] "Auto"
1768
1666
  intervalMode_auto: "Automático",
1769
1667
  // [Auto-translated] "Intervals:"
@@ -1786,12 +1684,6 @@ License: SEE LICENSE IN LICENSE
1786
1684
  setupLocale({ localeCode: "es", strings: spanishStrings, nativeName: "Español" });
1787
1685
 
1788
1686
  var italianStrings = {
1789
- // "Group By Me"
1790
- groupButton: "Raggruppa",
1791
- // "Ungroup By Me"
1792
- ungroupButton: "Dividi",
1793
- // "Select Me"
1794
- selectButton: "Selezionami",
1795
1687
  // "Hide column"
1796
1688
  hideColumn: "Nascondi colonna",
1797
1689
  // "Show column"
@@ -1918,8 +1810,6 @@ License: SEE LICENSE IN LICENSE
1918
1810
  answer: "Risposta",
1919
1811
  // "Correct answer: "
1920
1812
  correctAnswer: "Risposta esatta: ",
1921
- // "Percent"
1922
- percent: "Percentuale",
1923
1813
  // [Auto-translated] "Percentage"
1924
1814
  percentage: "Percentuale",
1925
1815
  // [Auto-translated] "Chart"
@@ -1950,8 +1840,6 @@ License: SEE LICENSE IN LICENSE
1950
1840
  axisYAlternativeSelectorTitle: "Gruppi:",
1951
1841
  // [Auto-translated] "Not selected"
1952
1842
  notSelected: "Non selezionato",
1953
- // [Auto-translated] "Default"
1954
- intervalMode_default: "Default",
1955
1843
  // [Auto-translated] "Decades"
1956
1844
  intervalMode_decades: "Decenni",
1957
1845
  // [Auto-translated] "Years"
@@ -1962,8 +1850,6 @@ License: SEE LICENSE IN LICENSE
1962
1850
  intervalMode_months: "Mesi",
1963
1851
  // [Auto-translated] "Days"
1964
1852
  intervalMode_days: "Giorni",
1965
- // [Auto-translated] "Custom"
1966
- intervalMode_custom: "Costume",
1967
1853
  // [Auto-translated] "Auto"
1968
1854
  intervalMode_auto: "Automatico",
1969
1855
  // [Auto-translated] "Intervals:"
@@ -1986,12 +1872,6 @@ License: SEE LICENSE IN LICENSE
1986
1872
  setupLocale({ localeCode: "it", strings: italianStrings, nativeName: "Italiano" });
1987
1873
 
1988
1874
  var arabicStrings = {
1989
- // "Group By Me"
1990
- groupButton: "زرار المجموعة",
1991
- // "Ungroup By Me"
1992
- ungroupButton: "تم التحديث من خلالى",
1993
- // "Select Me"
1994
- selectButton: "اختر",
1995
1875
  // "Hide column"
1996
1876
  hideColumn: "اخفاء العمود",
1997
1877
  // "Show column"
@@ -2118,8 +1998,6 @@ License: SEE LICENSE IN LICENSE
2118
1998
  answer: "إجب",
2119
1999
  // "Correct answer: "
2120
2000
  correctAnswer: "الاجابة الصحيحة: ",
2121
- // "Percent"
2122
- percent: "النسبه المئويه",
2123
2001
  // [Auto-translated] "Percentage"
2124
2002
  percentage: "النسبه المئويه",
2125
2003
  // [Auto-translated] "Chart"
@@ -2150,8 +2028,6 @@ License: SEE LICENSE IN LICENSE
2150
2028
  axisYAlternativeSelectorTitle: "المجموعات:",
2151
2029
  // [Auto-translated] "Not selected"
2152
2030
  notSelected: "لم يتم اختياره",
2153
- // [Auto-translated] "Default"
2154
- intervalMode_default: "افتراضي",
2155
2031
  // [Auto-translated] "Decades"
2156
2032
  intervalMode_decades: "عقود",
2157
2033
  // [Auto-translated] "Years"
@@ -2162,8 +2038,6 @@ License: SEE LICENSE IN LICENSE
2162
2038
  intervalMode_months: "أشهر",
2163
2039
  // [Auto-translated] "Days"
2164
2040
  intervalMode_days: "أيام",
2165
- // [Auto-translated] "Custom"
2166
- intervalMode_custom: "تقليد",
2167
2041
  // [Auto-translated] "Auto"
2168
2042
  intervalMode_auto: "تلقائي",
2169
2043
  // [Auto-translated] "Intervals:"
@@ -2186,12 +2060,6 @@ License: SEE LICENSE IN LICENSE
2186
2060
  setupLocale({ localeCode: "ar", strings: arabicStrings, nativeName: "العربية" });
2187
2061
 
2188
2062
  var japaneseStrings = {
2189
- // "Group By Me"
2190
- groupButton: "グループ化",
2191
- // "Ungroup By Me"
2192
- ungroupButton: "グループ解除",
2193
- // "Select Me"
2194
- selectButton: "選択",
2195
2063
  // "Hide column"
2196
2064
  hideColumn: "列を非表示",
2197
2065
  // "Show column"
@@ -2318,8 +2186,6 @@ License: SEE LICENSE IN LICENSE
2318
2186
  answer: "回答",
2319
2187
  // "Correct answer: "
2320
2188
  correctAnswer: "正解: ",
2321
- // "Percent"
2322
- percent: "パーセント",
2323
2189
  // [Auto-translated] "Percentage"
2324
2190
  percentage: "百分率",
2325
2191
  // [Auto-translated] "Chart"
@@ -2350,8 +2216,6 @@ License: SEE LICENSE IN LICENSE
2350
2216
  axisYAlternativeSelectorTitle: "グループ:",
2351
2217
  // [Auto-translated] "Not selected"
2352
2218
  notSelected: "選ばれませんでした",
2353
- // [Auto-translated] "Default"
2354
- intervalMode_default: "デフォルト",
2355
2219
  // [Auto-translated] "Decades"
2356
2220
  intervalMode_decades: "数 十 年",
2357
2221
  // [Auto-translated] "Years"
@@ -2362,8 +2226,6 @@ License: SEE LICENSE IN LICENSE
2362
2226
  intervalMode_months: "月",
2363
2227
  // [Auto-translated] "Days"
2364
2228
  intervalMode_days: "日",
2365
- // [Auto-translated] "Custom"
2366
- intervalMode_custom: "習慣",
2367
2229
  // [Auto-translated] "Auto"
2368
2230
  intervalMode_auto: "自動",
2369
2231
  // [Auto-translated] "Intervals:"
@@ -2386,12 +2248,6 @@ License: SEE LICENSE IN LICENSE
2386
2248
  setupLocale({ localeCode: "ja", strings: japaneseStrings, nativeName: "日本語" });
2387
2249
 
2388
2250
  var plStrings = {
2389
- // "Group By Me"
2390
- groupButton: "Grupuj według mnie",
2391
- // "Ungroup By Me"
2392
- ungroupButton: "Rozgrupuj według mnie",
2393
- // "Select Me"
2394
- selectButton: "Wybierz",
2395
2251
  // "Hide column"
2396
2252
  hideColumn: "Ukryj kolumnę",
2397
2253
  // "Show column"
@@ -2518,8 +2374,6 @@ License: SEE LICENSE IN LICENSE
2518
2374
  answer: "Odpowiedź",
2519
2375
  // "Correct answer: "
2520
2376
  correctAnswer: "Odpowiedź poprawna: ",
2521
- // "Percent"
2522
- percent: "Procent",
2523
2377
  // [Auto-translated] "Percentage"
2524
2378
  percentage: "Procent",
2525
2379
  // [Auto-translated] "Chart"
@@ -2550,8 +2404,6 @@ License: SEE LICENSE IN LICENSE
2550
2404
  axisYAlternativeSelectorTitle: "Grupy:",
2551
2405
  // [Auto-translated] "Not selected"
2552
2406
  notSelected: "Nie wybrany",
2553
- // [Auto-translated] "Default"
2554
- intervalMode_default: "Domyślny",
2555
2407
  // [Auto-translated] "Decades"
2556
2408
  intervalMode_decades: "Dziesięciolecia",
2557
2409
  // [Auto-translated] "Years"
@@ -2562,8 +2414,6 @@ License: SEE LICENSE IN LICENSE
2562
2414
  intervalMode_months: "Miesiące",
2563
2415
  // [Auto-translated] "Days"
2564
2416
  intervalMode_days: "Dni",
2565
- // [Auto-translated] "Custom"
2566
- intervalMode_custom: "Zwyczaj",
2567
2417
  // [Auto-translated] "Auto"
2568
2418
  intervalMode_auto: "Automatycznie",
2569
2419
  // [Auto-translated] "Intervals:"
@@ -2586,12 +2436,6 @@ License: SEE LICENSE IN LICENSE
2586
2436
  setupLocale({ localeCode: "pl", strings: plStrings, nativeName: "Polski" });
2587
2437
 
2588
2438
  var finnishStrings = {
2589
- // "Group By Me"
2590
- groupButton: "Erottele minulla",
2591
- // "Ungroup By Me"
2592
- ungroupButton: "Poista erottele minulla",
2593
- // "Select Me"
2594
- selectButton: "Valitse minut",
2595
2439
  // "Hide column"
2596
2440
  hideColumn: "Piilota sarake",
2597
2441
  // "Show column"
@@ -2718,8 +2562,6 @@ License: SEE LICENSE IN LICENSE
2718
2562
  answer: "Vastaus",
2719
2563
  // "Correct answer: "
2720
2564
  correctAnswer: "Oikea vastaus: ",
2721
- // "Percent"
2722
- percent: "Prosentti",
2723
2565
  // "Percentage"
2724
2566
  percentage: "Prosenttiyksikkö",
2725
2567
  // "Chart"
@@ -2750,8 +2592,6 @@ License: SEE LICENSE IN LICENSE
2750
2592
  axisYAlternativeSelectorTitle: "Ryhmät:",
2751
2593
  // [Auto-translated] "Not selected"
2752
2594
  notSelected: "Ei valittu",
2753
- // [Auto-translated] "Default"
2754
- intervalMode_default: "Laiminlyönti",
2755
2595
  // [Auto-translated] "Decades"
2756
2596
  intervalMode_decades: "Vuosikymmeniä",
2757
2597
  // [Auto-translated] "Years"
@@ -2762,8 +2602,6 @@ License: SEE LICENSE IN LICENSE
2762
2602
  intervalMode_months: "Kuukautta",
2763
2603
  // [Auto-translated] "Days"
2764
2604
  intervalMode_days: "Päivää",
2765
- // [Auto-translated] "Custom"
2766
- intervalMode_custom: "Tapa",
2767
2605
  // [Auto-translated] "Auto"
2768
2606
  intervalMode_auto: "Auto",
2769
2607
  // [Auto-translated] "Intervals:"
@@ -2786,12 +2624,6 @@ License: SEE LICENSE IN LICENSE
2786
2624
  setupLocale({ localeCode: "fi", strings: finnishStrings, nativeName: "Suomi" });
2787
2625
 
2788
2626
  var swedishStrings = {
2789
- // "Group By Me"
2790
- groupButton: "Gruppera av mig",
2791
- // "Ungroup By Me"
2792
- ungroupButton: "Avgruppera av mig",
2793
- // "Select Me"
2794
- selectButton: "Välj mig",
2795
2627
  // "Hide column"
2796
2628
  hideColumn: "Göm kolumn",
2797
2629
  // "Show column"
@@ -2918,8 +2750,6 @@ License: SEE LICENSE IN LICENSE
2918
2750
  answer: "Svar",
2919
2751
  // "Correct answer: "
2920
2752
  correctAnswer: "Rätt svar: ",
2921
- // "Percent"
2922
- percent: "Procent",
2923
2753
  // "Percentage"
2924
2754
  percentage: "Procent",
2925
2755
  // "Chart"
@@ -2950,8 +2780,6 @@ License: SEE LICENSE IN LICENSE
2950
2780
  axisYAlternativeSelectorTitle: "Grupper:",
2951
2781
  // [Auto-translated] "Not selected"
2952
2782
  notSelected: "Ej utvald",
2953
- // [Auto-translated] "Default"
2954
- intervalMode_default: "Standard",
2955
2783
  // [Auto-translated] "Decades"
2956
2784
  intervalMode_decades: "Årtionden",
2957
2785
  // [Auto-translated] "Years"
@@ -2962,8 +2790,6 @@ License: SEE LICENSE IN LICENSE
2962
2790
  intervalMode_months: "Månader",
2963
2791
  // [Auto-translated] "Days"
2964
2792
  intervalMode_days: "Dagar",
2965
- // [Auto-translated] "Custom"
2966
- intervalMode_custom: "Sed",
2967
2793
  // [Auto-translated] "Auto"
2968
2794
  intervalMode_auto: "Bil",
2969
2795
  // [Auto-translated] "Intervals:"
@@ -4289,6 +4115,7 @@ License: SEE LICENSE IN LICENSE
4289
4115
  this._options = _options;
4290
4116
  this._columnsData = _columnsData;
4291
4117
  this.haveCommercialLicense = false;
4118
+ this._columnsByName = null;
4292
4119
  this.currentPageSize = 5;
4293
4120
  this._rows = [];
4294
4121
  this.isInitialized = false;
@@ -4337,7 +4164,7 @@ License: SEE LICENSE IN LICENSE
4337
4164
  this.isInitialized = false;
4338
4165
  this.currentPageSize = this.options.pageSize || 5;
4339
4166
  this.currentPageNumber = 1;
4340
- this._columns = this.buildColumns(this._survey);
4167
+ this.setColumns(this.buildColumns(this._survey));
4341
4168
  this.initTableData(this.data);
4342
4169
  localization.currentLocale = this._survey.locale;
4343
4170
  if (this._columnsData.length !== 0) {
@@ -4435,13 +4262,20 @@ License: SEE LICENSE IN LICENSE
4435
4262
  return [].concat(this._columns);
4436
4263
  },
4437
4264
  set: function (columns) {
4438
- this._columns = columns;
4265
+ this.setColumns(columns);
4439
4266
  this.refresh(true);
4440
4267
  this.stateChanged();
4441
4268
  },
4442
4269
  enumerable: false,
4443
4270
  configurable: true
4444
4271
  });
4272
+ Table.prototype.setColumns = function (columns) {
4273
+ this._columns = columns;
4274
+ this.invalidateColumnsByNameCache();
4275
+ };
4276
+ Table.prototype.invalidateColumnsByNameCache = function () {
4277
+ this._columnsByName = null;
4278
+ };
4445
4279
  Object.defineProperty(Table.prototype, "isInitTableDataProcessing", {
4446
4280
  get: function () { return this.isInitTableDataProcessingValue; },
4447
4281
  enumerable: false,
@@ -4484,7 +4318,14 @@ License: SEE LICENSE IN LICENSE
4484
4318
  this.stateChanged();
4485
4319
  };
4486
4320
  Table.prototype.getColumnByName = function (columnName) {
4487
- return this._columns.filter(function (column) { return column.name === columnName; })[0];
4321
+ if (!this._columnsByName) {
4322
+ this._columnsByName = new Map();
4323
+ for (var _i = 0, _a = this._columns; _i < _a.length; _i++) {
4324
+ var column = _a[_i];
4325
+ this._columnsByName.set(column.name, column);
4326
+ }
4327
+ }
4328
+ return this._columnsByName.get(columnName);
4488
4329
  };
4489
4330
  Table.prototype.setColumnVisibility = function (columnName, isVisible) {
4490
4331
  var column = this.getColumnByName(columnName);
@@ -4614,6 +4455,7 @@ License: SEE LICENSE IN LICENSE
4614
4455
  });
4615
4456
  /**
4616
4457
  * Resets table state.
4458
+ * @since 2.3.5
4617
4459
  */
4618
4460
  Table.prototype.resetState = function () {
4619
4461
  this._survey.locale = surveyCore.surveyLocalization.defaultLocale;
@@ -4640,7 +4482,7 @@ License: SEE LICENSE IN LICENSE
4640
4482
  columns.push(column);
4641
4483
  }
4642
4484
  });
4643
- this._columns = this._columns.sort(function (col1, col2) { return col1.visibleIndex - col2.visibleIndex; });
4485
+ this.setColumns(this._columns.sort(function (col1, col2) { return col1.visibleIndex - col2.visibleIndex; }));
4644
4486
  };
4645
4487
  Object.defineProperty(Table.prototype, "permissions", {
4646
4488
  /**
@@ -4665,7 +4507,7 @@ License: SEE LICENSE IN LICENSE
4665
4507
  });
4666
4508
  return column;
4667
4509
  });
4668
- this._columns = [].concat(updatedElements);
4510
+ this.setColumns([].concat(updatedElements));
4669
4511
  this.onPermissionsChangedCallback &&
4670
4512
  this.onPermissionsChangedCallback(this);
4671
4513
  },
@@ -4896,13 +4738,13 @@ License: SEE LICENSE IN LICENSE
4896
4738
  _this.accessorDownload = function (cellData, rowData, reason, _, columnComponent, rowComponent) {
4897
4739
  if (Array.isArray(_this.data)) {
4898
4740
  var columnDefinition = columnComponent.getDefinition();
4899
- var questionName_1 = columnDefinition.field;
4900
- var column = _this.columns.filter(function (col) { return col.name === questionName_1; })[0];
4741
+ var questionName = columnDefinition.field;
4742
+ var column = _this.getColumnByName(questionName);
4901
4743
  if (!!column && rowComponent) {
4902
4744
  var dataRow = rowComponent.getData().surveyOriginalData;
4903
- var dataCell = dataRow[questionName_1];
4745
+ var dataCell = dataRow[questionName];
4904
4746
  if (column.dataType === ColumnDataType.Image) {
4905
- return questionName_1;
4747
+ return questionName;
4906
4748
  }
4907
4749
  if (column.dataType === ColumnDataType.FileLink && Array.isArray(dataCell)) {
4908
4750
  return (dataCell || []).map(function (f) { return f.name; }).join(", ");