survey-analytics 2.5.16 → 3.0.0-beta.1
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 +759 -3180
- package/fesm/shared.mjs.map +1 -1
- package/fesm/shared2.mjs +10561 -8296
- package/fesm/shared2.mjs.map +1 -1
- package/fesm/shared3.mjs +4844 -0
- package/fesm/shared3.mjs.map +1 -0
- package/fesm/shared4.mjs +42 -0
- package/fesm/shared4.mjs.map +1 -0
- package/fesm/survey.analytics.apexcharts.mjs +1082 -0
- package/fesm/survey.analytics.apexcharts.mjs.map +1 -0
- package/fesm/survey.analytics.core.mjs +3 -3
- package/fesm/survey.analytics.mjs +7 -755
- package/fesm/survey.analytics.mjs.map +1 -1
- package/fesm/survey.analytics.mongo.mjs +1 -1
- package/fesm/survey.analytics.plotly.mjs +13 -0
- package/fesm/survey.analytics.plotly.mjs.map +1 -0
- package/fesm/survey.analytics.tabulator.mjs +341 -193
- package/fesm/survey.analytics.tabulator.mjs.map +1 -1
- package/fesm/themes/index.mjs +1942 -0
- package/fesm/themes/index.mjs.map +1 -0
- package/package.json +39 -10
- package/survey-analytics-plotly.types/alternativeVizualizersWrapper.d.ts +73 -0
- package/survey-analytics-plotly.types/analytics-localization/arabic.d.ts +100 -0
- package/survey-analytics-plotly.types/analytics-localization/dutch.d.ts +100 -0
- package/survey-analytics-plotly.types/analytics-localization/english.d.ts +142 -0
- package/survey-analytics-plotly.types/analytics-localization/farsi.d.ts +100 -0
- package/survey-analytics-plotly.types/analytics-localization/finnish.d.ts +100 -0
- package/survey-analytics-plotly.types/analytics-localization/french.d.ts +100 -0
- package/survey-analytics-plotly.types/analytics-localization/german.d.ts +100 -0
- package/survey-analytics-plotly.types/analytics-localization/italian.d.ts +100 -0
- package/survey-analytics-plotly.types/analytics-localization/japanese.d.ts +100 -0
- package/survey-analytics-plotly.types/analytics-localization/norwegian.d.ts +100 -0
- package/survey-analytics-plotly.types/analytics-localization/polish.d.ts +100 -0
- package/survey-analytics-plotly.types/analytics-localization/portuguese.d.ts +100 -0
- package/survey-analytics-plotly.types/analytics-localization/russian.d.ts +100 -0
- package/survey-analytics-plotly.types/analytics-localization/spanish.d.ts +100 -0
- package/survey-analytics-plotly.types/analytics-localization/swedish.d.ts +100 -0
- package/survey-analytics-plotly.types/axisDescription.d.ts +6 -0
- package/survey-analytics-plotly.types/boolean.d.ts +15 -0
- package/survey-analytics-plotly.types/card.d.ts +29 -0
- package/survey-analytics-plotly.types/chartConfig.d.ts +9 -0
- package/survey-analytics-plotly.types/config.d.ts +35 -0
- package/survey-analytics-plotly.types/dashboard.d.ts +51 -0
- package/survey-analytics-plotly.types/dataProvider.d.ts +69 -0
- package/survey-analytics-plotly.types/entries/plotly.d.ts +2 -0
- package/survey-analytics-plotly.types/entries/summary.core.d.ts +46 -0
- package/survey-analytics-plotly.types/filterInfo.d.ts +11 -0
- package/survey-analytics-plotly.types/histogram.d.ts +102 -0
- package/{survey-analytics.types/layoutEngine.d.ts → survey-analytics-plotly.types/layout-engine.d.ts} +0 -12
- package/survey-analytics-plotly.types/localizationManager.d.ts +164 -0
- package/survey-analytics-plotly.types/matrix.d.ts +17 -0
- package/survey-analytics-plotly.types/matrixDropdownGrouped.d.ts +15 -0
- package/survey-analytics-plotly.types/muuri-layout-engine.d.ts +13 -0
- package/survey-analytics-plotly.types/nps.d.ts +37 -0
- package/survey-analytics-plotly.types/number.d.ts +27 -0
- package/survey-analytics-plotly.types/pivot.d.ts +71 -0
- package/{survey-analytics.types → survey-analytics-plotly.types}/plotly/chart-adapter.d.ts +11 -2
- package/survey-analytics-plotly.types/plotly/setup.d.ts +150 -0
- package/survey-analytics-plotly.types/ranking.d.ts +12 -0
- package/survey-analytics-plotly.types/selectBase.d.ts +117 -0
- package/survey-analytics-plotly.types/sideBarItemCreators.d.ts +7 -0
- package/survey-analytics-plotly.types/statisticCalculators.d.ts +9 -0
- package/survey-analytics-plotly.types/statistics-table.d.ts +28 -0
- package/survey-analytics-plotly.types/svgbundle.d.ts +2 -0
- package/survey-analytics-plotly.types/text.d.ts +25 -0
- package/survey-analytics-plotly.types/theme.d.ts +51 -0
- package/survey-analytics-plotly.types/themes/default-light.d.ts +965 -0
- package/survey-analytics-plotly.types/utils/calculationDateRanges.d.ts +35 -0
- package/survey-analytics-plotly.types/utils/dateRangeModel.d.ts +32 -0
- package/survey-analytics-plotly.types/utils/dateRangeWidget.d.ts +38 -0
- package/survey-analytics-plotly.types/utils/documentHelper.d.ts +28 -0
- package/survey-analytics-plotly.types/utils/dropdownActionWidget.d.ts +34 -0
- package/survey-analytics-plotly.types/utils/dropdownBase.d.ts +48 -0
- package/survey-analytics-plotly.types/utils/dropdownWidget.d.ts +46 -0
- package/survey-analytics-plotly.types/utils/editableSeriesListWidget.d.ts +34 -0
- package/survey-analytics-plotly.types/utils/elementVisibilityAction.d.ts +22 -0
- package/survey-analytics-plotly.types/utils/index.d.ts +25 -0
- package/survey-analytics-plotly.types/utils/sidebarWidget.d.ts +48 -0
- package/survey-analytics-plotly.types/utils/toggle.d.ts +17 -0
- package/survey-analytics-plotly.types/utils/utils.d.ts +9 -0
- package/survey-analytics-plotly.types/visualizationComposite.d.ts +8 -0
- package/survey-analytics-plotly.types/visualizationManager.d.ts +61 -0
- package/survey-analytics-plotly.types/visualizationMatrixDropdown.d.ts +23 -0
- package/survey-analytics-plotly.types/visualizationMatrixDynamic.d.ts +8 -0
- package/survey-analytics-plotly.types/visualizationPanel.d.ts +464 -0
- package/survey-analytics-plotly.types/visualizationPanelDynamic.d.ts +20 -0
- package/survey-analytics-plotly.types/visualizer-interfaces.d.ts +25 -0
- package/survey-analytics-plotly.types/visualizerBase.d.ts +435 -0
- package/survey-analytics-plotly.types/visualizerDescription.d.ts +4 -0
- package/survey-analytics-plotly.types/visualizerFactory.d.ts +41 -0
- package/survey-analytics-plotly.types/wordcloud/stopwords/dutch.d.ts +1 -0
- package/survey-analytics-plotly.types/wordcloud/stopwords/english.d.ts +1 -0
- package/survey-analytics-plotly.types/wordcloud/stopwords/index.d.ts +3 -0
- package/survey-analytics-plotly.types/wordcloud/stopwords/norwegian.d.ts +1 -0
- package/survey-analytics-plotly.types/wordcloud/stopwords/spanish.d.ts +1 -0
- package/survey-analytics-plotly.types/wordcloud/widget.d.ts +38 -0
- package/survey-analytics-plotly.types/wordcloud/wordcloud.d.ts +28 -0
- package/survey-analytics-tabulator.types/analytics-localization/english.d.ts +40 -0
- package/survey-analytics-tabulator.types/entries/tabulator.d.ts +2 -25
- package/survey-analytics-tabulator.types/entries/tabulator.fontless.d.ts +26 -0
- package/survey-analytics-tabulator.types/localizationManager.d.ts +40 -0
- package/survey-analytics-tabulator.types/tables/columnbuilder.d.ts +16 -16
- package/survey-analytics-tabulator.types/tables/columns.d.ts +18 -18
- package/survey-analytics-tabulator.types/tables/config.d.ts +2 -2
- package/survey-analytics-tabulator.types/tables/extensions/footerextensions.d.ts +1 -0
- package/survey-analytics-tabulator.types/tables/extensions/tableextensions.d.ts +2 -1
- package/survey-analytics-tabulator.types/tables/table-interfaces.d.ts +56 -0
- package/survey-analytics-tabulator.types/tables/table.d.ts +4 -48
- package/survey-analytics-tabulator.types/tables/tabulator.d.ts +9 -1
- package/survey-analytics-tabulator.types/theme.d.ts +51 -0
- package/survey-analytics-tabulator.types/themes/default-light.d.ts +965 -0
- package/survey-analytics-tabulator.types/utils/documentHelper.d.ts +28 -0
- package/survey-analytics-tabulator.types/utils/dropdownActionWidget.d.ts +34 -0
- package/survey-analytics-tabulator.types/utils/dropdownBase.d.ts +48 -0
- package/survey-analytics-tabulator.types/utils/index.d.ts +1 -15
- package/survey-analytics.types/alternativeVizualizersWrapper.d.ts +9 -4
- package/survey-analytics.types/analytics-localization/english.d.ts +40 -0
- package/survey-analytics.types/apexcharts/chart-adapter.d.ts +29 -0
- package/survey-analytics.types/apexcharts/index.d.ts +2 -0
- package/survey-analytics.types/apexcharts/setup.d.ts +200 -0
- package/survey-analytics.types/axisDescription.d.ts +6 -0
- package/survey-analytics.types/boolean.d.ts +1 -1
- package/survey-analytics.types/card.d.ts +29 -0
- package/survey-analytics.types/chartConfig.d.ts +9 -0
- package/survey-analytics.types/config.d.ts +1 -33
- package/survey-analytics.types/dashboard.d.ts +51 -0
- package/survey-analytics.types/dataProvider.d.ts +17 -0
- package/survey-analytics.types/entries/apexcharts.d.ts +2 -0
- package/survey-analytics.types/entries/apexcharts.fontless.d.ts +2 -0
- package/survey-analytics.types/entries/summary.core.d.ts +9 -1
- package/survey-analytics.types/histogram.d.ts +29 -13
- package/survey-analytics.types/layout-engine.d.ts +29 -0
- package/survey-analytics.types/localizationManager.d.ts +40 -0
- package/survey-analytics.types/matrix.d.ts +3 -2
- package/survey-analytics.types/matrixDropdownGrouped.d.ts +3 -2
- package/survey-analytics.types/muuri-layout-engine.d.ts +13 -0
- package/survey-analytics.types/nps.d.ts +5 -10
- package/survey-analytics.types/number.d.ts +8 -7
- package/survey-analytics.types/pivot.d.ts +42 -40
- package/survey-analytics.types/ranking.d.ts +3 -2
- package/survey-analytics.types/selectBase.d.ts +13 -15
- package/survey-analytics.types/sideBarItemCreators.d.ts +7 -0
- package/survey-analytics.types/statisticCalculators.d.ts +8 -13
- package/survey-analytics.types/statistics-table.d.ts +2 -2
- package/survey-analytics.types/text.d.ts +4 -3
- package/survey-analytics.types/theme.d.ts +51 -0
- package/survey-analytics.types/themes/default-light.d.ts +965 -0
- package/survey-analytics.types/utils/calculationDateRanges.d.ts +35 -0
- package/survey-analytics.types/utils/dateRangeModel.d.ts +32 -0
- package/survey-analytics.types/utils/dateRangeWidget.d.ts +38 -0
- package/survey-analytics.types/utils/documentHelper.d.ts +28 -0
- package/survey-analytics.types/utils/dropdownActionWidget.d.ts +34 -0
- package/survey-analytics.types/utils/dropdownBase.d.ts +48 -0
- package/survey-analytics.types/utils/dropdownWidget.d.ts +46 -0
- package/survey-analytics.types/utils/editableSeriesListWidget.d.ts +34 -0
- package/survey-analytics.types/utils/elementVisibilityAction.d.ts +22 -0
- package/survey-analytics.types/utils/index.d.ts +1 -15
- package/survey-analytics.types/utils/sidebarWidget.d.ts +48 -0
- package/survey-analytics.types/utils/toggle.d.ts +17 -0
- package/survey-analytics.types/utils/utils.d.ts +9 -0
- package/survey-analytics.types/visualizationComposite.d.ts +1 -1
- package/survey-analytics.types/visualizationManager.d.ts +6 -5
- package/survey-analytics.types/visualizationMatrixDropdown.d.ts +2 -1
- package/survey-analytics.types/visualizationMatrixDynamic.d.ts +1 -1
- package/survey-analytics.types/visualizationPanel.d.ts +20 -3
- package/survey-analytics.types/visualizationPanelDynamic.d.ts +4 -3
- package/survey-analytics.types/visualizer-interfaces.d.ts +25 -0
- package/survey-analytics.types/visualizerBase.d.ts +80 -12
- package/survey-analytics.types/visualizerDescription.d.ts +4 -0
- package/survey-analytics.types/visualizerFactory.d.ts +11 -2
- package/survey-analytics.types/wordcloud/wordcloud.d.ts +6 -4
- package/survey.analytics.core.css +1534 -122
- package/survey.analytics.core.css.map +1 -1
- package/survey.analytics.core.d.ts +1 -0
- package/survey.analytics.core.js +6118 -1229
- package/survey.analytics.core.js.map +1 -1
- package/survey.analytics.core.min.css +11 -6
- package/survey.analytics.core.min.js +1 -1
- package/survey.analytics.core.min.js.LICENSE.txt +1 -1
- package/survey.analytics.css +1900 -129
- package/survey.analytics.css.map +1 -1
- package/survey.analytics.d.ts +2 -2
- package/survey.analytics.fontless.css +2009 -0
- package/survey.analytics.fontless.css.map +1 -0
- package/survey.analytics.fontless.min.css +16 -0
- package/survey.analytics.js +9764 -4539
- package/survey.analytics.js.map +1 -1
- package/survey.analytics.min.css +13 -6
- package/survey.analytics.min.js +1 -1
- package/survey.analytics.min.js.LICENSE.txt +1 -1
- package/survey.analytics.mongo.d.ts +1 -0
- package/survey.analytics.mongo.js +2 -2
- package/survey.analytics.mongo.js.map +1 -1
- package/survey.analytics.mongo.min.js +1 -1
- package/survey.analytics.mongo.min.js.LICENSE.txt +1 -1
- package/survey.analytics.plotly.css +2094 -0
- package/survey.analytics.plotly.css.map +1 -0
- package/survey.analytics.plotly.d.ts +2 -0
- package/survey.analytics.plotly.fontless.css +1872 -0
- package/survey.analytics.plotly.fontless.css.map +1 -0
- package/survey.analytics.plotly.fontless.min.css +15 -0
- package/survey.analytics.plotly.js +24673 -0
- package/survey.analytics.plotly.js.map +1 -0
- package/survey.analytics.plotly.min.css +16 -0
- package/survey.analytics.plotly.min.js +2 -0
- package/survey.analytics.plotly.min.js.LICENSE.txt +22 -0
- package/survey.analytics.tabulator.css +1005 -132
- package/survey.analytics.tabulator.css.map +1 -1
- package/survey.analytics.tabulator.d.ts +1 -0
- package/survey.analytics.tabulator.fontless.css +1134 -0
- package/survey.analytics.tabulator.fontless.css.map +1 -0
- package/survey.analytics.tabulator.fontless.min.css +6 -0
- package/survey.analytics.tabulator.js +2719 -476
- package/survey.analytics.tabulator.js.map +1 -1
- package/survey.analytics.tabulator.min.css +3 -2
- package/survey.analytics.tabulator.min.js +1 -1
- package/survey.analytics.tabulator.min.js.LICENSE.txt +1 -1
- package/themes/default-dark.js +1032 -0
- package/themes/default-dark.js.map +1 -0
- package/themes/default-dark.min.js +2 -0
- package/themes/default-dark.min.js.LICENSE.txt +5 -0
- package/themes/default-light.js +1032 -0
- package/themes/default-light.js.map +1 -0
- package/themes/default-light.min.js +2 -0
- package/themes/default-light.min.js.LICENSE.txt +5 -0
- package/themes/index.js +2063 -0
- package/themes/index.js.map +1 -0
- package/themes/index.min.js +2 -0
- package/themes/index.min.js.LICENSE.txt +5 -0
- package/themes/themes/default-dark.d.ts +965 -0
- package/themes/themes/default-light.d.ts +965 -0
- package/themes/themes/index.d.ts +1934 -0
- package/themes/utils/helpers.d.ts +8 -0
- package/survey-analytics.types/plotly/setup.d.ts +0 -32
- /package/{survey-analytics.types/entries/summary.d.ts → survey-analytics-plotly.types/entries/plotly.fontless.d.ts} +0 -0
- /package/{survey-analytics.types → survey-analytics-plotly.types}/plotly/index.d.ts +0 -0
- /package/{survey-analytics.types → survey-analytics-plotly.types}/plotly/legacy.d.ts +0 -0
|
@@ -1,25 +1,2 @@
|
|
|
1
|
-
export * from "
|
|
2
|
-
import "
|
|
3
|
-
import "../analytics-localization/french";
|
|
4
|
-
import "../analytics-localization/german";
|
|
5
|
-
import "../analytics-localization/norwegian";
|
|
6
|
-
import "../analytics-localization/portuguese";
|
|
7
|
-
import "../analytics-localization/russian";
|
|
8
|
-
import "../analytics-localization/dutch";
|
|
9
|
-
import "../analytics-localization/spanish";
|
|
10
|
-
import "../analytics-localization/italian";
|
|
11
|
-
import "../analytics-localization/arabic";
|
|
12
|
-
import "../analytics-localization/japanese";
|
|
13
|
-
import "../analytics-localization/polish";
|
|
14
|
-
import "../analytics-localization/finnish";
|
|
15
|
-
import "../analytics-localization/swedish";
|
|
16
|
-
import "../tables/extensions/rowextensions";
|
|
17
|
-
import "../tables/extensions/headerextensions";
|
|
18
|
-
import "../tables/extensions/columnextensions";
|
|
19
|
-
import "../tables/extensions/detailsextensions";
|
|
20
|
-
export * from "../tables/table";
|
|
21
|
-
export * from "../tables/tabulator";
|
|
22
|
-
export * from "../tables/columnbuilder";
|
|
23
|
-
export * from "../tables/columns";
|
|
24
|
-
export { TableExtensions } from "../tables/extensions/tableextensions";
|
|
25
|
-
export { DocumentHelper } from "../utils/index";
|
|
1
|
+
export * from "./tabulator.fontless";
|
|
2
|
+
import "./fonts.scss";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export * from "../localizationManager";
|
|
2
|
+
import "../analytics-localization/farsi";
|
|
3
|
+
import "../analytics-localization/french";
|
|
4
|
+
import "../analytics-localization/german";
|
|
5
|
+
import "../analytics-localization/norwegian";
|
|
6
|
+
import "../analytics-localization/portuguese";
|
|
7
|
+
import "../analytics-localization/russian";
|
|
8
|
+
import "../analytics-localization/dutch";
|
|
9
|
+
import "../analytics-localization/spanish";
|
|
10
|
+
import "../analytics-localization/italian";
|
|
11
|
+
import "../analytics-localization/arabic";
|
|
12
|
+
import "../analytics-localization/japanese";
|
|
13
|
+
import "../analytics-localization/polish";
|
|
14
|
+
import "../analytics-localization/finnish";
|
|
15
|
+
import "../analytics-localization/swedish";
|
|
16
|
+
import "../tables/extensions/rowextensions";
|
|
17
|
+
import "../tables/extensions/headerextensions";
|
|
18
|
+
import "../tables/extensions/footerextensions";
|
|
19
|
+
import "../tables/extensions/columnextensions";
|
|
20
|
+
import "../tables/extensions/detailsextensions";
|
|
21
|
+
export * from "../tables/table";
|
|
22
|
+
export * from "../tables/tabulator";
|
|
23
|
+
export * from "../tables/columnbuilder";
|
|
24
|
+
export * from "../tables/columns";
|
|
25
|
+
export { TableExtensions } from "../tables/extensions/tableextensions";
|
|
26
|
+
export { DocumentHelper } from "../utils/documentHelper";
|
|
@@ -19,8 +19,10 @@ export declare var surveyStrings: {
|
|
|
19
19
|
groupButton: string;
|
|
20
20
|
ungroupButton: string;
|
|
21
21
|
selectButton: string;
|
|
22
|
+
columnReorder: string;
|
|
22
23
|
hideColumn: string;
|
|
23
24
|
showColumn: string;
|
|
25
|
+
columns: string;
|
|
24
26
|
makePrivateColumn: string;
|
|
25
27
|
makePublicColumn: string;
|
|
26
28
|
moveToDetail: string;
|
|
@@ -29,10 +31,12 @@ export declare var surveyStrings: {
|
|
|
29
31
|
removeRows: string;
|
|
30
32
|
showLabel: string;
|
|
31
33
|
entriesLabel: string;
|
|
34
|
+
entriesOnPageLabel: string;
|
|
32
35
|
visualizer_text: string;
|
|
33
36
|
visualizer_wordcloud: string;
|
|
34
37
|
visualizer_histogram: string;
|
|
35
38
|
visualizer_number: string;
|
|
39
|
+
visualizer_average: string;
|
|
36
40
|
visualizer_choices: string;
|
|
37
41
|
visualizer_selectBase: string;
|
|
38
42
|
visualizer_matrix: string;
|
|
@@ -46,6 +50,9 @@ export declare var surveyStrings: {
|
|
|
46
50
|
chartType_bullet: string;
|
|
47
51
|
chartType_line: string;
|
|
48
52
|
chartType_radar: string;
|
|
53
|
+
chartType_histogram: string;
|
|
54
|
+
chartType_vhistogram: string;
|
|
55
|
+
chartType_stackedhistogram: string;
|
|
49
56
|
hideButton: string;
|
|
50
57
|
makePrivateButton: string;
|
|
51
58
|
makePublicButton: string;
|
|
@@ -55,6 +62,9 @@ export declare var surveyStrings: {
|
|
|
55
62
|
changeLocale: string;
|
|
56
63
|
clearButton: string;
|
|
57
64
|
addElement: string;
|
|
65
|
+
allQuestions: string;
|
|
66
|
+
selectAll: string;
|
|
67
|
+
clearSelection: string;
|
|
58
68
|
defaultOrder: string;
|
|
59
69
|
ascOrder: string;
|
|
60
70
|
descOrder: string;
|
|
@@ -63,10 +73,30 @@ export declare var surveyStrings: {
|
|
|
63
73
|
otherCommentTitle: string;
|
|
64
74
|
showPercentages: string;
|
|
65
75
|
hidePercentages: string;
|
|
76
|
+
exportAs: string;
|
|
66
77
|
pdfDownloadCaption: string;
|
|
67
78
|
xlsxDownloadCaption: string;
|
|
68
79
|
csvDownloadCaption: string;
|
|
69
80
|
saveDiagramAsPNG: string;
|
|
81
|
+
responsesText: string;
|
|
82
|
+
noData: string;
|
|
83
|
+
selectDateRange: string;
|
|
84
|
+
includeToday: string;
|
|
85
|
+
reportingPeriodCustom: string;
|
|
86
|
+
reportingPeriodLast7days: string;
|
|
87
|
+
reportingPeriodLast14days: string;
|
|
88
|
+
reportingPeriodLast28days: string;
|
|
89
|
+
reportingPeriodLast30days: string;
|
|
90
|
+
reportingPeriodLastWeekMon: string;
|
|
91
|
+
reportingPeriodLastWeekSun: string;
|
|
92
|
+
reportingPeriodLastMonth: string;
|
|
93
|
+
reportingPeriodLastQuarter: string;
|
|
94
|
+
reportingPeriodLastYear: string;
|
|
95
|
+
reportingPeriodWtdSun: string;
|
|
96
|
+
reportingPeriodWtdMon: string;
|
|
97
|
+
reportingPeriodMtd: string;
|
|
98
|
+
reportingPeriodQtd: string;
|
|
99
|
+
reportingPeriodYtd: string;
|
|
70
100
|
hideEmptyAnswers: string;
|
|
71
101
|
showEmptyAnswers: string;
|
|
72
102
|
"topNValueText-1": string;
|
|
@@ -97,6 +127,7 @@ export declare var surveyStrings: {
|
|
|
97
127
|
axisYSelectorTitle: string;
|
|
98
128
|
axisXAlternativeSelectorTitle: string;
|
|
99
129
|
axisYAlternativeSelectorTitle: string;
|
|
130
|
+
secondYAxisToggleTitle: string;
|
|
100
131
|
notSelected: string;
|
|
101
132
|
intervalMode_default: string;
|
|
102
133
|
intervalMode_decades: string;
|
|
@@ -116,6 +147,15 @@ export declare var surveyStrings: {
|
|
|
116
147
|
groupedYearsAxisTitle: string;
|
|
117
148
|
license: string;
|
|
118
149
|
license2: string;
|
|
150
|
+
seriesListLegendSeries: string;
|
|
151
|
+
seriesListValuesLabel: string;
|
|
152
|
+
seriesListRemove: string;
|
|
153
|
+
seriesListAdd: string;
|
|
154
|
+
seriesListMoveToSecondAxis: string;
|
|
155
|
+
seriesListMoveToFirstAxis: string;
|
|
156
|
+
aggregationCount: string;
|
|
157
|
+
aggregationSum: string;
|
|
158
|
+
aggregationAverage: string;
|
|
119
159
|
};
|
|
120
160
|
export declare function setupLocale(localeConfig: {
|
|
121
161
|
localeCode: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Question, QuestionCheckboxModel, QuestionCompositeModel, QuestionCustomModel, QuestionDropdownModel, QuestionFileModel, QuestionMatrixDropdownModel, QuestionMatrixModel, QuestionRadiogroupModel, QuestionSelectBase } from "survey-core";
|
|
2
2
|
import { BaseColumn, CompositeQuestionColumn, CustomQuestionColumn, FileColumn, ImageColumn } from "./columns";
|
|
3
3
|
import { IColumn } from "./config";
|
|
4
|
-
import {
|
|
4
|
+
import { ITable } from "./table-interfaces";
|
|
5
5
|
export interface IColumnsBuilder {
|
|
6
|
-
buildColumns(question: Question, table:
|
|
6
|
+
buildColumns(question: Question, table: ITable): Array<IColumn>;
|
|
7
7
|
}
|
|
8
8
|
export declare class DefaultColumnsBuilder<T extends Question = Question> implements IColumnsBuilder {
|
|
9
|
-
protected createColumn(question: T, table:
|
|
10
|
-
protected buildColumnsCore(question: T, table:
|
|
11
|
-
buildColumns(question: T, table:
|
|
9
|
+
protected createColumn(question: T, table: ITable): BaseColumn<T>;
|
|
10
|
+
protected buildColumnsCore(question: T, table: ITable): Array<IColumn>;
|
|
11
|
+
buildColumns(question: T, table: ITable): Array<IColumn>;
|
|
12
12
|
}
|
|
13
13
|
export declare class ColumnsBuilderFactory {
|
|
14
14
|
static Instance: ColumnsBuilderFactory;
|
|
@@ -19,32 +19,32 @@ export declare class ColumnsBuilderFactory {
|
|
|
19
19
|
getColumnsBuilder(type: string): IColumnsBuilder;
|
|
20
20
|
}
|
|
21
21
|
export declare class SelectBaseColumnsBuilder<T extends QuestionSelectBase> extends DefaultColumnsBuilder<T> {
|
|
22
|
-
buildColumns(question: T, table:
|
|
22
|
+
buildColumns(question: T, table: ITable): Array<IColumn>;
|
|
23
23
|
}
|
|
24
24
|
export declare class CheckboxColumnsBuilder extends SelectBaseColumnsBuilder<QuestionCheckboxModel> {
|
|
25
|
-
protected createColumn(question: QuestionCheckboxModel, table:
|
|
25
|
+
protected createColumn(question: QuestionCheckboxModel, table: ITable): BaseColumn<QuestionCheckboxModel>;
|
|
26
26
|
}
|
|
27
27
|
export declare class SingleChoiceColumnsBuilder extends SelectBaseColumnsBuilder<QuestionDropdownModel | QuestionRadiogroupModel> {
|
|
28
|
-
protected createColumn(question: QuestionDropdownModel | QuestionRadiogroupModel, table:
|
|
28
|
+
protected createColumn(question: QuestionDropdownModel | QuestionRadiogroupModel, table: ITable): BaseColumn<QuestionDropdownModel | QuestionRadiogroupModel>;
|
|
29
29
|
}
|
|
30
30
|
export declare class MatrixColumnsBuilder extends DefaultColumnsBuilder<QuestionMatrixModel> {
|
|
31
|
-
protected buildColumnsCore(questionBase: Question, table:
|
|
31
|
+
protected buildColumnsCore(questionBase: Question, table: ITable): IColumn[];
|
|
32
32
|
}
|
|
33
33
|
export declare class ImageColumnsBuilder extends DefaultColumnsBuilder {
|
|
34
|
-
protected createColumn(question: Question, table:
|
|
34
|
+
protected createColumn(question: Question, table: ITable): ImageColumn;
|
|
35
35
|
}
|
|
36
36
|
export declare class FileColumnsBuilder extends DefaultColumnsBuilder<QuestionFileModel> {
|
|
37
|
-
protected createColumn(question: QuestionFileModel, table:
|
|
37
|
+
protected createColumn(question: QuestionFileModel, table: ITable): FileColumn;
|
|
38
38
|
}
|
|
39
39
|
export declare class MatrixDropdownColumnBuilder extends DefaultColumnsBuilder {
|
|
40
|
-
buildColumns(questionBase: QuestionMatrixDropdownModel, table:
|
|
40
|
+
buildColumns(questionBase: QuestionMatrixDropdownModel, table: ITable): Array<IColumn>;
|
|
41
41
|
}
|
|
42
42
|
export declare class CustomColumnsBuilder extends DefaultColumnsBuilder<QuestionCustomModel> {
|
|
43
|
-
protected createColumn(question: QuestionCustomModel, table:
|
|
43
|
+
protected createColumn(question: QuestionCustomModel, table: ITable): CustomQuestionColumn;
|
|
44
44
|
}
|
|
45
45
|
export declare class CompositeColumnsBuilder extends DefaultColumnsBuilder<QuestionCompositeModel> {
|
|
46
46
|
static ShowAsSeparateColumns: boolean;
|
|
47
|
-
protected getDisplayName(question: QuestionCompositeModel, table:
|
|
48
|
-
protected buildColumnsCore(question: QuestionCompositeModel, table:
|
|
49
|
-
protected createColumn(question: QuestionCompositeModel, table:
|
|
47
|
+
protected getDisplayName(question: QuestionCompositeModel, table: ITable): string;
|
|
48
|
+
protected buildColumnsCore(question: QuestionCompositeModel, table: ITable): Array<IColumn>;
|
|
49
|
+
protected createColumn(question: QuestionCompositeModel, table: ITable): CompositeQuestionColumn;
|
|
50
50
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ItemValue, MatrixRowModel, Question, QuestionCheckboxModel, QuestionCompositeModel, QuestionCustomModel, QuestionDropdownModel, QuestionFileModel, QuestionMatrixDropdownModel, QuestionMatrixModel, QuestionRadiogroupModel, QuestionSelectBase, QuestionTagboxModel } from "survey-core";
|
|
2
2
|
import { ICellData, IColumn, ColumnDataType, QuestionLocation, IColumnData } from "./config";
|
|
3
|
-
import { ITableOptions,
|
|
3
|
+
import { ITableOptions, ITable } from "./table-interfaces";
|
|
4
4
|
export declare class BaseColumn<T extends Question = Question> implements IColumn {
|
|
5
5
|
protected question: T;
|
|
6
|
-
protected table:
|
|
6
|
+
protected table: ITable;
|
|
7
7
|
dataType: ColumnDataType;
|
|
8
8
|
isVisible: boolean;
|
|
9
9
|
isPublic: boolean;
|
|
@@ -13,8 +13,8 @@ export declare class BaseColumn<T extends Question = Question> implements IColum
|
|
|
13
13
|
isComment?: boolean;
|
|
14
14
|
private nameValue;
|
|
15
15
|
private displayNameValue?;
|
|
16
|
-
constructor(question: T, table:
|
|
17
|
-
protected updateWhenQuestionIsReady(question: Question, table:
|
|
16
|
+
constructor(question: T, table: ITable);
|
|
17
|
+
protected updateWhenQuestionIsReady(question: Question, table: ITable): void;
|
|
18
18
|
get name(): string;
|
|
19
19
|
set name(val: string);
|
|
20
20
|
get displayName(): string;
|
|
@@ -23,30 +23,30 @@ export declare class BaseColumn<T extends Question = Question> implements IColum
|
|
|
23
23
|
protected getName(): string;
|
|
24
24
|
protected getDataType(): ColumnDataType;
|
|
25
25
|
protected getDisplayValueCore(data: any): any;
|
|
26
|
-
protected getDisplayValue(data: any, table:
|
|
26
|
+
protected getDisplayValue(data: any, table: ITable, options: ITableOptions): any;
|
|
27
27
|
private formatDisplayValue;
|
|
28
|
-
getCellData(table:
|
|
28
|
+
getCellData(table: ITable, data: any): ICellData;
|
|
29
29
|
toJSON(): IColumnData;
|
|
30
30
|
fromJSON(data: IColumnData): void;
|
|
31
31
|
}
|
|
32
32
|
export declare class DefaultColumn extends BaseColumn {
|
|
33
|
-
protected getDisplayValue(data: any, table:
|
|
33
|
+
protected getDisplayValue(data: any, table: ITable, options: ITableOptions): any;
|
|
34
34
|
}
|
|
35
35
|
export declare class SelectBaseColumn<T extends QuestionSelectBase> extends BaseColumn<T> {
|
|
36
36
|
protected get isOtherInSeparateColumn(): boolean;
|
|
37
37
|
protected getItemDisplayText(item: ItemValue, options: ITableOptions): string;
|
|
38
|
-
protected getDisplayValue(data: any, table:
|
|
38
|
+
protected getDisplayValue(data: any, table: ITable, options: ITableOptions): string;
|
|
39
39
|
}
|
|
40
40
|
export declare class CheckboxColumn extends SelectBaseColumn<QuestionCheckboxModel | QuestionTagboxModel> {
|
|
41
|
-
protected getDisplayValue(data: any, table:
|
|
41
|
+
protected getDisplayValue(data: any, table: ITable, options: ITableOptions): string;
|
|
42
42
|
}
|
|
43
43
|
export declare class SingleChoiceColumn extends SelectBaseColumn<QuestionDropdownModel | QuestionRadiogroupModel> {
|
|
44
|
-
protected getDisplayValue(data: any, table:
|
|
44
|
+
protected getDisplayValue(data: any, table: ITable, options: ITableOptions): string;
|
|
45
45
|
}
|
|
46
46
|
export declare class CommentColumn<T extends Question = Question> extends BaseColumn<T> {
|
|
47
47
|
protected getName(): string;
|
|
48
48
|
protected getDisplayName(): string;
|
|
49
|
-
protected getDisplayValue(data: any, table:
|
|
49
|
+
protected getDisplayValue(data: any, table: ITable, options: ITableOptions): string;
|
|
50
50
|
}
|
|
51
51
|
export declare class OtherColumn extends CommentColumn<QuestionSelectBase> {
|
|
52
52
|
protected getDisplayName(): string;
|
|
@@ -55,31 +55,31 @@ export declare class MatrixColumn extends BaseColumn<QuestionMatrixModel> {
|
|
|
55
55
|
private row;
|
|
56
56
|
private valueName;
|
|
57
57
|
private valuePath;
|
|
58
|
-
constructor(question: QuestionMatrixModel, row: MatrixRowModel, table:
|
|
58
|
+
constructor(question: QuestionMatrixModel, row: MatrixRowModel, table: ITable);
|
|
59
59
|
protected getName(): string;
|
|
60
60
|
protected getDisplayName(): string;
|
|
61
|
-
protected getDisplayValue(data: any, table:
|
|
61
|
+
protected getDisplayValue(data: any, table: ITable, options: ITableOptions): any;
|
|
62
62
|
}
|
|
63
63
|
export declare class ImageColumn extends BaseColumn {
|
|
64
64
|
protected getDataType(): ColumnDataType;
|
|
65
65
|
}
|
|
66
66
|
export declare class FileColumn extends BaseColumn<QuestionFileModel> {
|
|
67
67
|
protected getDataType(): ColumnDataType;
|
|
68
|
-
protected getDisplayValue(data: any, table:
|
|
68
|
+
protected getDisplayValue(data: any, table: ITable, options: ITableOptions): any;
|
|
69
69
|
}
|
|
70
70
|
export declare class MatrixDropdownColumn extends BaseColumn<QuestionMatrixDropdownModel> {
|
|
71
71
|
protected row: any;
|
|
72
72
|
protected col: any;
|
|
73
73
|
private rowValue;
|
|
74
74
|
private colName;
|
|
75
|
-
constructor(question: QuestionMatrixDropdownModel, row: any, col: any, table:
|
|
75
|
+
constructor(question: QuestionMatrixDropdownModel, row: any, col: any, table: ITable);
|
|
76
76
|
protected getName(): string;
|
|
77
77
|
protected getDisplayName(): string;
|
|
78
|
-
protected getDisplayValue(data: any, table:
|
|
78
|
+
protected getDisplayValue(data: any, table: ITable, options: ITableOptions): any;
|
|
79
79
|
}
|
|
80
80
|
export declare class CustomQuestionColumn extends BaseColumn<QuestionCustomModel> {
|
|
81
|
-
constructor(question: QuestionCustomModel, table:
|
|
81
|
+
constructor(question: QuestionCustomModel, table: ITable);
|
|
82
82
|
}
|
|
83
83
|
export declare class CompositeQuestionColumn extends BaseColumn<QuestionCompositeModel> {
|
|
84
|
-
constructor(question: QuestionCompositeModel, table:
|
|
84
|
+
constructor(question: QuestionCompositeModel, table: ITable);
|
|
85
85
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Question } from "survey-core";
|
|
2
|
-
import {
|
|
2
|
+
import { ITable } from "./table-interfaces";
|
|
3
3
|
export declare enum QuestionLocation {
|
|
4
4
|
Column = 0,
|
|
5
5
|
Row = 1
|
|
@@ -26,7 +26,7 @@ export interface IColumnData {
|
|
|
26
26
|
export interface IColumn extends IColumnData {
|
|
27
27
|
visibleIndex?: number;
|
|
28
28
|
fromJSON(json: any): void;
|
|
29
|
-
getCellData(table:
|
|
29
|
+
getCellData(table: ITable, data: any): ICellData;
|
|
30
30
|
}
|
|
31
31
|
export interface ITableState {
|
|
32
32
|
locale?: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -12,11 +12,12 @@ export declare class TableExtensions {
|
|
|
12
12
|
private static extensions;
|
|
13
13
|
private renderedExtensions;
|
|
14
14
|
render(targetNode: HTMLElement, location: string, options?: any): void;
|
|
15
|
+
renderExtension(extension: ITableExtension, targetNode: HTMLElement, options?: any): void;
|
|
15
16
|
destroy(): void;
|
|
16
17
|
static registerExtension(extension: ITableExtension): void;
|
|
17
18
|
private static removeExtension;
|
|
18
19
|
static unregisterExtension(location: string, actionName: string): void;
|
|
19
20
|
static findExtension(location: string, actionName: string): ITableExtension;
|
|
20
21
|
static getExtensions(location: string): Array<ITableExtension>;
|
|
21
|
-
|
|
22
|
+
sortExtensions(extensions: Array<ITableExtension>): any[];
|
|
22
23
|
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Question } from "survey-core";
|
|
2
|
+
export interface ITableOptions {
|
|
3
|
+
[index: string]: any;
|
|
4
|
+
/**
|
|
5
|
+
* Specifies whether to use question names instead of question titles as column headings.
|
|
6
|
+
*
|
|
7
|
+
* Default value: `false`
|
|
8
|
+
*/
|
|
9
|
+
useNamesAsTitles?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Specifies the delimiter used to separate multiple choice items in a list.
|
|
12
|
+
*
|
|
13
|
+
* Default value: `", "`
|
|
14
|
+
*/
|
|
15
|
+
itemsDelimiter?: string;
|
|
16
|
+
/**
|
|
17
|
+
* A callback function that allows you to customize a question's display value in the table.
|
|
18
|
+
*
|
|
19
|
+
* Parameters:
|
|
20
|
+
*
|
|
21
|
+
* - `options.question`: `Question`\
|
|
22
|
+
* The question for which the callback is executed.
|
|
23
|
+
* - `options.displayValue`: `any`\
|
|
24
|
+
* The question's display value. You can modify this parameter to change the output.
|
|
25
|
+
*/
|
|
26
|
+
onGetQuestionValue?: (options: {
|
|
27
|
+
question: Question;
|
|
28
|
+
displayValue: any;
|
|
29
|
+
}) => void;
|
|
30
|
+
/**
|
|
31
|
+
* Specifies the number of data items to load and display per page. Applies only if `paginationEnabled` is `true`.
|
|
32
|
+
*
|
|
33
|
+
* Default value: 10
|
|
34
|
+
* @see paginationEnabled
|
|
35
|
+
*/
|
|
36
|
+
pageSize?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Specifies whether the dataset is split into pages.
|
|
39
|
+
*
|
|
40
|
+
* Default value: `true`
|
|
41
|
+
*
|
|
42
|
+
* > Pagination cannot be disabled if the dataset is loaded from a server (that is, if the second parameter passed to the `Tabulator` constructor is a function).
|
|
43
|
+
* @see pageSize
|
|
44
|
+
*/
|
|
45
|
+
paginationEnabled?: boolean;
|
|
46
|
+
}
|
|
47
|
+
export interface ITable {
|
|
48
|
+
useNamesAsTitles: boolean;
|
|
49
|
+
itemsDelimiter: string;
|
|
50
|
+
options: ITableOptions;
|
|
51
|
+
isInitTableDataProcessing: boolean;
|
|
52
|
+
lockStateChanged(): void;
|
|
53
|
+
unlockStateChanged(): void;
|
|
54
|
+
refresh(hard: boolean): void;
|
|
55
|
+
getShowFilesAsImages(): boolean;
|
|
56
|
+
}
|
|
@@ -1,52 +1,8 @@
|
|
|
1
|
-
import { SurveyModel,
|
|
1
|
+
import { SurveyModel, Event, EventBase } from "survey-core";
|
|
2
2
|
import { IPermission, QuestionLocation, ITableState, IColumn, IColumnData } from "./config";
|
|
3
3
|
import { Details } from "./extensions/detailsextensions";
|
|
4
4
|
import { ITableExtension, TableExtensions } from "./extensions/tableextensions";
|
|
5
|
-
|
|
6
|
-
[index: string]: any;
|
|
7
|
-
/**
|
|
8
|
-
* Specifies whether to use question names instead of question titles as column headings.
|
|
9
|
-
*
|
|
10
|
-
* Default value: `false`
|
|
11
|
-
*/
|
|
12
|
-
useNamesAsTitles?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Specifies the delimiter used to separate multiple choice items in a list.
|
|
15
|
-
*
|
|
16
|
-
* Default value: `", "`
|
|
17
|
-
*/
|
|
18
|
-
itemsDelimiter?: string;
|
|
19
|
-
/**
|
|
20
|
-
* A callback function that allows you to customize a question's display value in the table.
|
|
21
|
-
*
|
|
22
|
-
* Parameters:
|
|
23
|
-
*
|
|
24
|
-
* - `options.question`: `Question`\
|
|
25
|
-
* The question for which the callback is executed.
|
|
26
|
-
* - `options.displayValue`: `any`\
|
|
27
|
-
* The question's display value. You can modify this parameter to change the output.
|
|
28
|
-
*/
|
|
29
|
-
onGetQuestionValue?: (options: {
|
|
30
|
-
question: Question;
|
|
31
|
-
displayValue: any;
|
|
32
|
-
}) => void;
|
|
33
|
-
/**
|
|
34
|
-
* Specifies the number of data items to load and display per page. Applies only if `paginationEnabled` is `true`.
|
|
35
|
-
*
|
|
36
|
-
* Default value: 10
|
|
37
|
-
* @see paginationEnabled
|
|
38
|
-
*/
|
|
39
|
-
pageSize?: number;
|
|
40
|
-
/**
|
|
41
|
-
* Specifies whether the dataset is split into pages.
|
|
42
|
-
*
|
|
43
|
-
* Default value: `true`
|
|
44
|
-
*
|
|
45
|
-
* > Pagination cannot be disabled if the dataset is loaded from a server (that is, if the second parameter passed to the `Tabulator` constructor is a function).
|
|
46
|
-
* @see pageSize
|
|
47
|
-
*/
|
|
48
|
-
paginationEnabled?: boolean;
|
|
49
|
-
}
|
|
5
|
+
import { ITableOptions, ITable } from "./table-interfaces";
|
|
50
6
|
export type TabulatorFilter = {
|
|
51
7
|
field: string;
|
|
52
8
|
type: string;
|
|
@@ -80,12 +36,13 @@ export type GetDataUsingPromiseFn = (params: {
|
|
|
80
36
|
export type GetDataFn = GetDataUsingCallbackFn | GetDataUsingPromiseFn;
|
|
81
37
|
export declare class TableEvent extends EventBase<Table> {
|
|
82
38
|
}
|
|
83
|
-
export declare abstract class Table {
|
|
39
|
+
export declare abstract class Table implements ITable {
|
|
84
40
|
protected _survey: SurveyModel;
|
|
85
41
|
protected data: Array<Object> | GetDataFn;
|
|
86
42
|
protected _options: ITableOptions;
|
|
87
43
|
protected _columnsData: Array<IColumnData>;
|
|
88
44
|
static showFilesAsImages: boolean;
|
|
45
|
+
getShowFilesAsImages(): boolean;
|
|
89
46
|
static haveCommercialLicense: boolean;
|
|
90
47
|
protected tableData: any;
|
|
91
48
|
protected extensions: TableExtensions;
|
|
@@ -97,7 +54,6 @@ export declare abstract class Table {
|
|
|
97
54
|
protected currentPageNumber: number;
|
|
98
55
|
protected _rows: TableRow[];
|
|
99
56
|
protected isColumnReorderEnabled: boolean;
|
|
100
|
-
isInitialized: boolean;
|
|
101
57
|
protected initialize(): void;
|
|
102
58
|
getTableData(): Array<any>;
|
|
103
59
|
/**
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { GetDataFn,
|
|
1
|
+
import { GetDataFn, Table, TableRow } from "./table";
|
|
2
|
+
import { ITableOptions } from "./table-interfaces";
|
|
2
3
|
import { SurveyModel, Event } from "survey-core";
|
|
3
4
|
import { IColumnData, QuestionLocation } from "./config";
|
|
4
5
|
import type { DownloadType, SortDirection, TabulatorFull } from "tabulator-tables";
|
|
6
|
+
import { DashboardTheme, IDashboardTheme } from "../theme";
|
|
5
7
|
import "./tabulator.scss";
|
|
6
8
|
interface ITabulatorOptions extends ITableOptions {
|
|
7
9
|
tabulatorOptions?: any;
|
|
@@ -49,6 +51,8 @@ type TabulatorConstuctor = {
|
|
|
49
51
|
new (...args: TabulatorParameters): TabulatorFull;
|
|
50
52
|
};
|
|
51
53
|
export declare class Tabulator extends Table {
|
|
54
|
+
private _appliedTheme;
|
|
55
|
+
private _theme;
|
|
52
56
|
private static tabulatorTablesConstructor;
|
|
53
57
|
static initTabulatorConstructor(tabulatorTablesConstructor: TabulatorConstuctor): void;
|
|
54
58
|
static set haveCommercialLicense(val: boolean);
|
|
@@ -84,6 +88,9 @@ export declare class Tabulator extends Table {
|
|
|
84
88
|
download(type: DownloadType): void;
|
|
85
89
|
layout(hard?: boolean): void;
|
|
86
90
|
protected processLoadedDataItem(item: any): any;
|
|
91
|
+
get theme(): DashboardTheme;
|
|
92
|
+
set theme(theme: DashboardTheme);
|
|
93
|
+
applyTheme(theme: IDashboardTheme): void;
|
|
87
94
|
}
|
|
88
95
|
export declare class TabulatorRow extends TableRow {
|
|
89
96
|
protected table: Table;
|
|
@@ -94,6 +101,7 @@ export declare class TabulatorRow extends TableRow {
|
|
|
94
101
|
getElement(): HTMLElement;
|
|
95
102
|
getRowData(): HTMLElement;
|
|
96
103
|
getDataPosition(): number;
|
|
104
|
+
render(): void;
|
|
97
105
|
remove(): void;
|
|
98
106
|
}
|
|
99
107
|
export {};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export interface IDashboardTheme {
|
|
2
|
+
cssVariables?: {
|
|
3
|
+
[index: string]: string | any;
|
|
4
|
+
};
|
|
5
|
+
}
|
|
6
|
+
export interface FontSettings {
|
|
7
|
+
family: string;
|
|
8
|
+
color: string;
|
|
9
|
+
size: string;
|
|
10
|
+
weight: number;
|
|
11
|
+
}
|
|
12
|
+
export declare class DashboardTheme implements IDashboardTheme {
|
|
13
|
+
private theme;
|
|
14
|
+
static barGap: number;
|
|
15
|
+
static fontFamily: string;
|
|
16
|
+
private _cssStyleDeclaration;
|
|
17
|
+
private _computedValuesCache;
|
|
18
|
+
private getCssVariableValue;
|
|
19
|
+
private initComputedValuesCache;
|
|
20
|
+
constructor(theme?: IDashboardTheme);
|
|
21
|
+
applyThemeToElement(element: HTMLElement): void;
|
|
22
|
+
setTheme(theme: IDashboardTheme): void;
|
|
23
|
+
get cssVariables(): {
|
|
24
|
+
[index: string]: string | any;
|
|
25
|
+
};
|
|
26
|
+
get defaultFontFamily(): any;
|
|
27
|
+
get backgroundColor(): string;
|
|
28
|
+
get axisGridColor(): string;
|
|
29
|
+
get axisBorderColor(): string;
|
|
30
|
+
get modebarActiveColor(): string;
|
|
31
|
+
get modebarColor(): string;
|
|
32
|
+
isFontLoaded(fontFaceName: string): boolean;
|
|
33
|
+
isAxisLabelFontLoaded(): boolean;
|
|
34
|
+
get axisLabelFont(): FontSettings;
|
|
35
|
+
get axisTitleFont(): FontSettings;
|
|
36
|
+
get insideLabelFont(): FontSettings;
|
|
37
|
+
get legendLabelFont(): FontSettings;
|
|
38
|
+
get legendSetting(): {
|
|
39
|
+
borderWidth: any;
|
|
40
|
+
borderColor: any;
|
|
41
|
+
borderRadius: any;
|
|
42
|
+
};
|
|
43
|
+
get tooltipBackground(): any;
|
|
44
|
+
get tooltipFont(): FontSettings;
|
|
45
|
+
get noDataFont(): FontSettings;
|
|
46
|
+
get gaugeBackground(): any;
|
|
47
|
+
get gaugeBarColor(): any;
|
|
48
|
+
get gaugeValueFont(): FontSettings;
|
|
49
|
+
get gaugeTickFont(): FontSettings;
|
|
50
|
+
get radarLabelFont(): FontSettings;
|
|
51
|
+
}
|